home *** CD-ROM | disk | FTP | other *** search
/ Drumbeat 2000 / drumbeat 2000.iso / contracts / databasemiscellaneous / databasemiscellaneousv10_30.ctr next >
Unknown  |  1999-03-16  |  25.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert ChemDraw Template (other/chemDrawTemplate) ext Unsupported
100% file data default
100% TrID TERSE compressed data (PACK, U) default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 02 00 00 00 00 00 0b 00 | ff ff 00 00 0a 00 78 78 |........|......xx|
|00000010| 43 6f 6e 74 72 61 63 74 | 12 00 00 00 32 41 64 64 |Contract|....2Add|
|00000020| 20 73 74 61 74 69 63 20 | 6f 70 74 69 6f 6e 20 74 | static |option t|
|00000030| 6f 20 6c 69 73 74 20 70 | 6f 70 75 6c 61 74 65 64 |o list p|opulated|
|00000040| 20 62 79 20 61 20 72 65 | 63 6f 72 64 73 65 74 01 | by a re|cordset.|
|00000050| 00 00 00 32 41 64 64 20 | 73 74 61 74 69 63 20 6f |...2Add |static o|
|00000060| 70 74 69 6f 6e 20 74 6f | 20 6c 69 73 74 20 70 6f |ption to| list po|
|00000070| 70 75 6c 61 74 65 64 20 | 62 79 20 61 20 72 65 63 |pulated |by a rec|
|00000080| 6f 72 64 73 65 74 01 00 | ff ff 00 00 15 00 78 78 |ordset..|......xx|
|00000090| 43 6f 6e 74 72 61 63 74 | 50 61 72 74 69 63 69 70 |Contract|Particip|
|000000a0| 61 6e 74 01 00 00 00 06 | 73 6f 75 72 63 65 03 00 |ant.....|source..|
|000000b0| ff ff 00 00 15 00 78 78 | 43 6f 6e 74 72 61 63 74 |......xx|Contract|
|000000c0| 52 65 71 75 69 72 65 6d | 65 6e 74 03 00 00 00 00 |Requirem|ent.....|
|000000d0| 00 00 00 0c 53 65 72 76 | 65 72 28 68 74 6d 6c 29 |....Serv|er(html)|
|000000e0| 05 80 03 00 00 00 01 00 | 00 00 0a 67 65 74 43 6f |........|...getCo|
|000000f0| 75 6e 74 28 29 05 80 03 | 00 00 00 01 00 00 00 07 |unt()...|........|
|00000100| 66 6f 63 75 73 28 29 01 | 00 ff ff 00 00 10 00 78 |focus().|.......x|
|00000110| 78 43 6f 6e 74 72 61 63 | 74 41 63 74 69 6f 6e 04 |xContrac|tAction.|
|00000120| 00 00 00 0c 53 65 72 76 | 65 72 28 68 74 6d 6c 29 |....Serv|er(html)|
|00000130| 02 00 00 00 00 00 00 00 | ff b3 01 76 61 72 20 68 |........|...var h|
|00000140| 74 6d 6c 5f 73 74 72 69 | 6e 67 20 3d 20 22 22 3b |tml_stri|ng = "";|
|00000150| 0d 0a 0d 0a 76 61 72 20 | 6c 6f 63 61 74 69 6f 6e |....var |location|
|00000160| 20 3d 20 68 74 6d 6c 2e | 69 6e 64 65 78 4f 66 28 | = html.|indexOf(|
|00000170| 22 3c 4f 70 74 69 6f 6e | 22 29 3b 0d 0a 69 66 20 |"<Option|");..if |
|00000180| 28 20 6c 6f 63 61 74 69 | 6f 6e 20 21 3d 20 2d 31 |( locati|on != -1|
|00000190| 29 20 7b 0d 0a 20 20 20 | 20 68 74 6d 6c 5f 73 74 |) {.. | html_st|
|000001a0| 72 69 6e 67 3d 20 68 74 | 6d 6c 2e 73 75 62 73 74 |ring= ht|ml.subst|
|000001b0| 72 69 6e 67 28 30 2c 20 | 6c 6f 63 61 74 69 6f 6e |ring(0, |location|
|000001c0| 29 20 2b 20 22 3c 4f 70 | 74 69 6f 6e 20 56 61 6c |) + "<Op|tion Val|
|000001d0| 75 65 3d 22 20 2b 20 5b | 4f 70 74 69 6f 6e 20 56 |ue=" + [|Option V|
|000001e0| 61 6c 75 65 5d 3b 0d 0a | 20 20 20 20 76 61 72 20 |alue];..| var |
|000001f0| 73 65 6c 65 63 74 65 64 | 20 3d 20 5b 53 65 6c 65 |selected| = [Sele|
|00000200| 63 74 65 64 5d 3b 0d 0a | 20 20 20 20 69 66 20 28 |cted];..| if (|
|00000210| 73 65 6c 65 63 74 65 64 | 20 3d 3d 20 22 31 22 29 |selected| == "1")|
|00000220| 0d 0a 09 09 20 20 20 20 | 20 20 68 74 6d 6c 5f 73 |.... | html_s|
|00000230| 74 72 69 6e 67 20 2b 3d | 20 22 20 53 45 4c 45 43 |tring +=| " SELEC|
|00000240| 54 45 44 20 22 3b 0d 0a | 20 20 20 20 68 74 6d 6c |TED ";..| html|
|00000250| 5f 73 74 72 69 6e 67 20 | 2b 3d 20 22 3e 20 22 20 |_string |+= "> " |
|00000260| 2b 20 5b 4f 70 74 69 6f | 6e 20 53 74 72 69 6e 67 |+ [Optio|n String|
|00000270| 5d 3b 0d 0a 20 20 20 20 | 68 74 6d 6c 5f 73 74 72 |];.. |html_str|
|00000280| 69 6e 67 20 2b 3d 20 68 | 74 6d 6c 2e 73 75 62 73 |ing += h|tml.subs|
|00000290| 74 72 69 6e 67 28 6c 6f | 63 61 74 69 6f 6e 2c 20 |tring(lo|cation, |
|000002a0| 68 74 6d 6c 2e 6c 65 6e | 67 74 68 29 3b 0d 0a 7d |html.len|gth);..}|
|000002b0| 0d 0a 65 6c 73 65 20 0d | 0a 20 20 20 20 68 74 6d |..else .|. htm|
|000002c0| 6c 5f 73 74 72 69 6e 67 | 20 3d 20 68 74 6d 6c 3b |l_string| = html;|
|000002d0| 0d 0a 52 65 73 70 6f 6e | 73 65 2e 57 72 69 74 65 |..Respon|se.Write|
|000002e0| 28 68 74 6d 6c 5f 73 74 | 72 69 6e 67 29 3b 01 00 |(html_st|ring);..|
|000002f0| 00 00 ff a3 01 68 74 6d | 6c 5f 73 74 72 69 6e 67 |.....htm|l_string|
|00000300| 20 3d 20 22 22 0d 0a 6c | 6f 63 61 74 69 6f 6e 20 | = ""..l|ocation |
|00000310| 3d 20 49 6e 73 74 72 28 | 31 2c 20 68 74 6d 6c 2c |= Instr(|1, html,|
|00000320| 20 22 3c 4f 70 74 69 6f | 6e 22 29 0d 0a 69 66 20 | "<Optio|n")..if |
|00000330| 6c 6f 63 61 74 69 6f 6e | 20 3c 3e 20 30 20 74 68 |location| <> 0 th|
|00000340| 65 6e 0d 0a 20 20 20 20 | 68 74 6d 6c 5f 73 74 72 |en.. |html_str|
|00000350| 69 6e 67 20 3d 20 4c 65 | 66 74 28 68 74 6d 6c 2c |ing = Le|ft(html,|
|00000360| 20 6c 6f 63 61 74 69 6f | 6e 29 20 26 20 22 3c 4f | locatio|n) & "<O|
|00000370| 70 74 69 6f 6e 20 56 61 | 6c 75 65 3d 22 20 26 20 |ption Va|lue=" & |
|00000380| 5b 4f 70 74 69 6f 6e 20 | 56 61 6c 75 65 5d 0d 0a |[Option |Value]..|
|00000390| 20 20 20 20 73 65 6c 65 | 63 74 65 64 20 3d 20 5b | sele|cted = [|
|000003a0| 53 65 6c 65 63 74 65 64 | 5d 0d 0a 0d 0a 20 20 20 |Selected|].... |
|000003b0| 20 69 66 20 73 65 6c 65 | 63 74 65 64 20 3d 20 22 | if sele|cted = "|
|000003c0| 31 22 20 74 68 65 6e 0d | 0a 09 09 09 20 20 20 20 |1" then.|.... |
|000003d0| 68 74 6d 6c 5f 73 74 72 | 69 6e 67 20 3d 20 68 74 |html_str|ing = ht|
|000003e0| 6d 6c 5f 73 74 72 69 6e | 67 20 26 20 22 20 53 45 |ml_strin|g & " SE|
|000003f0| 4c 45 43 54 45 44 20 22 | 0d 0a 20 20 20 20 65 6e |LECTED "|.. en|
|00000400| 64 20 69 66 0d 0a 0d 0a | 20 20 20 20 68 74 6d 6c |d if....| html|
|00000410| 5f 73 74 72 69 6e 67 20 | 3d 20 68 74 6d 6c 5f 73 |_string |= html_s|
|00000420| 74 72 69 6e 67 20 26 20 | 22 3e 20 22 20 26 20 5b |tring & |"> " & [|
|00000430| 4f 70 74 69 6f 6e 20 53 | 74 72 69 6e 67 5d 20 26 |Option S|tring] &|
|00000440| 20 4d 69 64 28 68 74 6d | 6c 2c 20 6c 6f 63 61 74 | Mid(htm|l, locat|
|00000450| 69 6f 6e 29 0d 0a 65 6c | 73 65 20 0d 0a 20 20 20 |ion)..el|se .. |
|00000460| 20 68 74 6d 6c 5f 73 74 | 72 69 6e 67 20 3d 20 68 | html_st|ring = h|
|00000470| 74 6d 6c 0d 0a 65 6e 64 | 20 69 66 0d 0a 52 65 73 |tml..end| if..Res|
|00000480| 70 6f 6e 73 65 2e 57 72 | 69 74 65 28 68 74 6d 6c |ponse.Wr|ite(html|
|00000490| 5f 73 74 72 69 6e 67 29 | 03 00 ff ff 00 00 0d 00 |_string)|........|
|000004a0| 78 78 53 63 72 69 70 74 | 50 61 72 61 6d 05 00 00 |xxScript|Param...|
|000004b0| 00 0d 4f 70 74 69 6f 6e | 20 53 74 72 69 6e 67 00 |..Option| String.|
|000004c0| 00 00 00 08 00 34 00 00 | 00 53 00 65 00 6c 00 65 |.....4..|.S.e.l.e|
|000004d0| 00 63 00 74 00 20 00 61 | 00 6e 00 20 00 69 00 74 |.c.t. .a|.n. .i.t|
|000004e0| 00 65 00 6d 00 20 00 69 | 00 6e 00 20 00 74 00 68 |.e.m. .i|.n. .t.h|
|000004f0| 00 65 00 20 00 6c 00 69 | 00 73 00 74 00 00 00 00 |.e. .l.i|.s.t....|
|00000500| 00 00 00 00 00 00 00 00 | 0b 80 05 00 00 00 0c 4f |........|.......O|
|00000510| 70 74 69 6f 6e 20 56 61 | 6c 75 65 00 00 00 00 08 |ption Va|lue.....|
|00000520| 00 02 00 00 00 30 00 00 | 00 00 00 00 00 00 00 00 |.....0..|........|
|00000530| 00 00 0b 80 05 00 00 00 | 08 53 65 6c 65 63 74 65 |........|.Selecte|
|00000540| 64 01 00 00 00 03 00 01 | 00 00 00 00 00 00 00 00 |d.......|........|
|00000550| 00 00 00 00 00 00 16 44 | 61 74 61 62 61 73 65 20 |.......D|atabase |
|00000560| 4d 69 73 63 65 6c 6c 61 | 6e 65 6f 75 73 00 00 00 |Miscella|neous...|
|00000570| 00 00 00 04 00 00 00 01 | 00 00 00 00 00 a8 27 21 |........|......'!|
|00000580| 23 f6 61 d2 11 81 24 00 | 60 08 c8 6a cf 01 00 00 |#.a...$.|`..j....|
|00000590| 00 24 33 37 37 41 43 34 | 33 30 2d 36 32 31 31 2d |.$377AC4|30-6211-|
|000005a0| 31 31 44 32 2d 38 31 31 | 37 2d 30 30 36 30 30 38 |11D2-811|7-006008|
|000005b0| 43 38 36 43 32 35 03 33 | 2e 30 ff 12 03 44 65 73 |C86C25.3|.0...Des|
|000005c0| 63 72 69 70 74 69 6f 6e | 3a 0d 0a 54 68 69 73 20 |cription|:..This |
|000005d0| 61 63 74 69 76 61 74 69 | 6f 6e 20 77 69 6c 6c 20 |activati|on will |
|000005e0| 61 64 64 20 61 20 76 61 | 6c 75 65 20 69 6e 20 61 |add a va|lue in a|
|000005f0| 20 6c 69 73 74 20 74 68 | 61 74 20 69 73 20 70 6f | list th|at is po|
|00000600| 70 75 6c 61 74 65 64 20 | 62 79 20 61 20 72 65 63 |pulated |by a rec|
|00000610| 6f 72 64 73 65 74 2e 20 | 20 54 68 69 73 20 69 73 |ordset. | This is|
|00000620| 20 6f 66 74 65 6e 20 75 | 73 65 64 20 74 6f 20 63 | often u|sed to c|
|00000630| 72 65 61 74 65 20 61 20 | 22 70 6c 65 61 73 65 20 |reate a |"please |
|00000640| 73 65 6c 65 63 74 20 6f | 6e 65 22 20 76 61 6c 75 |select o|ne" valu|
|00000650| 65 20 6f 6e 20 74 68 65 | 20 74 6f 70 20 6f 66 20 |e on the| top of |
|00000660| 74 68 65 20 6c 69 73 74 | 20 77 69 74 68 6f 75 74 |the list| without|
|00000670| 20 6e 65 65 64 69 6e 67 | 20 74 6f 20 61 64 64 20 | needing| to add |
|00000680| 74 68 61 74 20 74 65 78 | 74 20 74 6f 20 74 68 65 |that tex|t to the|
|00000690| 20 64 61 74 61 62 61 73 | 65 20 69 74 73 65 6c 66 | databas|e itself|
|000006a0| 2e 0d 0a 28 6e 6f 74 65 | 3a 20 74 68 69 73 20 63 |...(note|: this c|
|000006b0| 6f 6e 74 72 61 63 74 20 | 73 68 6f 75 6c 64 20 6e |ontract |should n|
|000006c0| 6f 74 20 62 65 20 75 73 | 65 64 20 66 6f 72 20 6e |ot be us|ed for n|
|000006d0| 6f 6e 2d 72 65 63 6f 72 | 64 73 65 74 20 64 72 69 |on-recor|dset dri|
|000006e0| 76 65 6e 20 6c 69 73 74 | 73 29 0d 0a 0d 0a 50 61 |ven list|s)....Pa|
|000006f0| 72 61 6d 65 74 65 72 73 | 3a 0d 0a 4f 70 74 69 6f |rameters|:..Optio|
|00000700| 6e 20 53 74 72 69 6e 67 | 20 2d 20 41 63 74 75 61 |n String| - Actua|
|00000710| 6c 20 74 65 78 74 20 74 | 6f 20 62 65 20 64 69 73 |l text t|o be dis|
|00000720| 70 6c 61 79 65 64 20 61 | 73 20 74 68 65 20 66 69 |played a|s the fi|
|00000730| 72 73 74 20 6f 70 74 69 | 6f 6e 0d 0a 4f 70 74 69 |rst opti|on..Opti|
|00000740| 6f 6e 20 56 61 6c 75 65 | 20 2d 20 55 6e 64 65 72 |on Value| - Under|
|00000750| 6c 79 69 6e 67 20 76 61 | 6c 75 65 20 66 6f 72 20 |lying va|lue for |
|00000760| 74 68 65 20 61 62 6f 76 | 65 20 73 65 6c 65 63 74 |the abov|e select|
|00000770| 69 6f 6e 0d 0a 53 65 6c | 65 63 74 65 64 20 2d 20 |ion..Sel|ected - |
|00000780| 53 68 6f 75 6c 64 20 62 | 65 20 63 68 65 63 6b 65 |Should b|e checke|
|00000790| 64 20 69 66 20 79 6f 75 | 20 77 61 6e 74 20 74 68 |d if you| want th|
|000007a0| 65 20 22 6f 70 74 69 6f | 6e 20 73 74 72 69 6e 67 |e "optio|n string|
|000007b0| 22 20 74 6f 20 61 6c 77 | 61 79 73 20 62 65 20 73 |" to alw|ays be s|
|000007c0| 65 6c 65 63 74 65 64 20 | 77 68 65 6e 20 74 68 65 |elected |when the|
|000007d0| 20 70 61 67 65 20 6c 6f | 61 64 73 0d 0a 0d 0a 54 | page lo|ads....T|
|000007e0| 79 70 69 63 61 6c 20 50 | 61 72 74 69 63 69 70 61 |ypical P|articipa|
|000007f0| 6e 74 73 3a 0d 0a 5b 53 | 6f 75 72 63 65 5d 20 2d |nts:..[S|ource] -|
|00000800| 20 4c 69 73 74 20 62 6f | 78 2c 20 44 72 6f 70 64 | List bo|x, Dropd|
|00000810| 6f 77 6e 20 4c 69 73 74 | 0d 0a 0d 0a 46 6f 72 20 |own List|....For |
|00000820| 6d 6f 72 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |more inf|ormation|
|00000830| 20 6f 6e 20 63 6f 6e 74 | 72 61 63 74 73 20 6f 66 | on cont|racts of|
|00000840| 20 74 68 69 73 20 63 61 | 74 65 67 6f 72 79 2c 20 | this ca|tegory, |
|00000850| 70 6c 65 61 73 65 20 72 | 65 66 65 72 20 74 6f 20 |please r|efer to |
|00000860| 44 61 74 61 62 61 73 65 | 4d 69 73 63 65 6c 6c 61 |Database|Miscella|
|00000870| 6e 65 6f 75 73 2e 64 6f | 63 0d 0a 54 68 69 73 20 |neous.do|c..This |
|00000880| 66 69 6c 65 20 69 73 20 | 61 76 61 69 6c 61 62 6c |file is |availabl|
|00000890| 65 20 69 6e 20 74 68 65 | 20 43 6f 6e 74 72 61 63 |e in the| Contrac|
|000008a0| 74 73 20 66 6f 6c 64 65 | 72 20 69 6e 20 74 68 65 |ts folde|r in the|
|000008b0| 20 44 72 75 6d 62 65 61 | 74 20 64 69 72 65 63 74 | Drumbea|t direct|
|000008c0| 6f 72 79 2e 0d 0a 56 31 | 30 5f 33 30 2e 0d 0a 01 |ory...V1|0_30....|
|000008d0| 80 12 00 00 00 39 44 6f | 20 6e 6f 74 20 63 72 65 |.....9Do| not cre|
|000008e0| 61 74 65 20 5b 73 6f 75 | 72 63 65 5d 20 69 66 20 |ate [sou|rce] if |
|000008f0| 5b 74 61 72 67 65 74 5d | 20 69 73 20 6f 6e 20 74 |[target]| is on t|
|00000900| 68 65 20 66 69 72 73 74 | 20 72 65 63 6f 72 64 00 |he first| record.|
|00000910| 00 00 00 00 02 00 03 80 | 01 00 00 00 06 73 6f 75 |........|.....sou|
|00000920| 72 63 65 01 00 05 80 03 | 00 00 00 00 00 00 00 0c |rce.....|........|
|00000930| 53 65 72 76 65 72 28 68 | 74 6d 6c 29 01 00 09 80 |Server(h|tml)....|
|00000940| 04 00 00 00 0c 53 65 72 | 76 65 72 28 68 74 6d 6c |.....Ser|ver(html|
|00000950| 29 02 00 00 00 00 00 00 | 00 d2 2f 2f 20 44 4f 20 |).......|..// DO |
|00000960| 4e 4f 54 20 43 52 45 41 | 54 45 20 54 48 45 20 42 |NOT CREA|TE THE B|
|00000970| 55 54 54 4f 4e 20 49 46 | 20 57 45 27 52 45 20 4f |UTTON IF| WE'RE O|
|00000980| 4e 20 54 48 45 20 46 49 | 52 53 54 20 52 45 43 4f |N THE FI|RST RECO|
|00000990| 52 44 0d 0a 0d 0a 70 6f | 73 69 74 69 6f 6e 20 3d |RD....po|sition =|
|000009a0| 20 5b 74 61 72 67 65 74 | 5d 2e 47 65 74 41 62 73 | [target|].GetAbs|
|000009b0| 50 6f 73 28 29 0d 0a 72 | 65 63 43 6f 75 6e 74 20 |Pos()..r|ecCount |
|000009c0| 3d 20 5b 74 61 72 67 65 | 74 5d 2e 52 53 2e 52 65 |= [targe|t].RS.Re|
|000009d0| 63 6f 72 64 43 6f 75 6e | 74 0d 0a 0d 0a 69 66 20 |cordCoun|t....if |
|000009e0| 28 70 6f 73 69 74 69 6f | 6e 20 3c 3d 20 31 20 7c |(positio|n <= 1 ||
|000009f0| 7c 20 70 6f 73 69 74 69 | 6f 6e 20 3d 3d 20 22 4d || positi|on == "M|
|00000a00| 54 59 22 29 0d 0a 20 20 | 20 20 20 20 68 74 6d 6c |TY").. | html|
|00000a10| 3d 27 27 0d 0a 20 0d 0a | 52 65 73 70 6f 6e 73 65 |=''.. ..|Response|
|00000a20| 2e 57 72 69 74 65 28 68 | 74 6d 6c 29 01 00 00 00 |.Write(h|tml)....|
|00000a30| ff 3d 01 27 20 44 4f 20 | 4e 4f 54 20 43 52 45 41 |.=.' DO |NOT CREA|
|00000a40| 54 45 20 54 48 45 20 42 | 55 54 54 4f 4e 20 49 46 |TE THE B|UTTON IF|
|00000a50| 20 57 45 27 52 45 20 4f | 4e 20 54 48 45 20 46 49 | WE'RE O|N THE FI|
|00000a60| 52 53 54 20 52 45 43 4f | 52 44 0d 0a 0d 0a 69 66 |RST RECO|RD....if|
|00000a70| 20 5b 74 61 72 67 65 74 | 5d 2e 47 65 74 41 62 73 | [target|].GetAbs|
|00000a80| 50 6f 73 28 29 20 3d 20 | 22 45 4f 46 22 20 74 68 |Pos() = |"EOF" th|
|00000a90| 65 6e 0d 0a 20 20 20 20 | 70 6f 73 69 74 69 6f 6e |en.. |position|
|00000aa0| 20 3d 20 5b 74 61 72 67 | 65 74 5d 2e 47 65 74 41 | = [targ|et].GetA|
|00000ab0| 62 73 50 6f 73 28 29 0d | 0a 65 6c 73 65 69 66 20 |bsPos().|.elseif |
|00000ac0| 5b 74 61 72 67 65 74 5d | 2e 47 65 74 41 62 73 50 |[target]|.GetAbsP|
|00000ad0| 6f 73 28 29 20 3d 20 22 | 4d 54 59 22 20 74 68 65 |os() = "|MTY" the|
|00000ae0| 6e 0d 0a 20 20 20 20 70 | 6f 73 69 74 69 6f 6e 20 |n.. p|osition |
|00000af0| 3d 20 31 0d 0a 65 6c 73 | 65 0d 0a 20 20 20 20 70 |= 1..els|e.. p|
|00000b00| 6f 73 69 74 69 6f 6e 20 | 3d 20 43 49 6e 74 28 5b |osition |= CInt([|
|00000b10| 74 61 72 67 65 74 5d 2e | 47 65 74 41 62 73 50 6f |target].|GetAbsPo|
|00000b20| 73 28 29 29 0d 0a 65 6e | 64 20 69 66 0d 0a 0d 0a |s())..en|d if....|
|00000b30| 69 66 20 70 6f 73 69 74 | 69 6f 6e 20 3d 20 31 20 |if posit|ion = 1 |
|00000b40| 74 68 65 6e 0d 0a 20 20 | 20 20 68 74 6d 6c 3d 22 |then.. | html="|
|00000b50| 22 0d 0a 65 6e 64 20 69 | 66 20 0d 0a 52 65 73 70 |"..end i|f ..Resp|
|00000b60| 6f 6e 73 65 2e 57 72 69 | 74 65 28 68 74 6d 6c 29 |onse.Wri|te(html)|
|00000b70| 03 80 01 00 00 00 06 74 | 61 72 67 65 74 01 00 05 |.......t|arget...|
|00000b80| 80 03 00 00 00 01 00 00 | 00 14 47 65 74 43 6f 6c |........|..GetCol|
|00000b90| 75 6d 6e 56 61 6c 75 65 | 28 6e 61 6d 65 29 00 00 |umnValue|(name)..|
|00000ba0| 00 00 16 44 61 74 61 62 | 61 73 65 20 4d 69 73 63 |...Datab|ase Misc|
|00000bb0| 65 6c 6c 61 6e 65 6f 75 | 73 00 00 00 00 00 00 04 |ellaneou|s.......|
|00000bc0| 00 00 00 01 00 00 00 00 | 00 1e 92 09 97 78 7a d2 |........|.....xz.|
|00000bd0| 11 80 6b 00 60 08 d0 5a | 6a 01 00 00 00 24 33 37 |..k.`..Z|j....$37|
|00000be0| 37 41 43 34 33 30 2d 36 | 32 31 31 2d 31 31 44 32 |7AC430-6|211-11D2|
|00000bf0| 2d 38 31 31 37 2d 30 30 | 36 30 30 38 43 38 36 43 |-8117-00|6008C86C|
|00000c00| 32 35 03 33 2e 30 ff ca | 01 44 65 73 63 72 69 70 |25.3.0..|.Descrip|
|00000c10| 74 69 6f 6e 3a 0d 0a 54 | 68 69 73 20 63 6f 6e 74 |tion:..T|his cont|
|00000c20| 72 61 63 74 20 69 73 20 | 64 65 73 69 67 6e 65 64 |ract is |designed|
|00000c30| 20 64 65 74 61 69 6c 20 | 70 61 67 65 20 77 69 74 | detail |page wit|
|00000c40| 68 20 73 69 6e 67 6c 65 | 20 72 65 63 6f 72 64 73 |h single| records|
|00000c50| 2e 20 20 49 74 20 77 69 | 6c 6c 20 6e 6f 74 20 63 |. It wi|ll not c|
|00000c60| 72 65 61 74 65 20 74 68 | 65 20 6f 62 6a 65 63 74 |reate th|e object|
|00000c70| 20 28 75 73 75 61 6c 6c | 79 20 74 68 65 20 22 70 | (usuall|y the "p|
|00000c80| 72 65 76 69 6f 75 73 22 | 20 62 75 74 74 6f 6e 29 |revious"| button)|
|00000c90| 20 69 66 20 79 6f 75 20 | 61 72 65 20 61 6c 72 65 | if you |are alre|
|00000ca0| 61 64 79 20 6f 6e 20 74 | 68 65 20 66 69 72 73 74 |ady on t|he first|
|00000cb0| 20 72 65 63 6f 72 64 2e | 20 0d 0a 0d 0a 50 61 72 | record.| ....Par|
|00000cc0| 61 6d 65 74 65 72 73 3a | 0d 0a 4e 6f 6e 65 0d 0a |ameters:|..None..|
|00000cd0| 0d 0a 54 79 70 69 63 61 | 6c 20 50 61 72 74 69 63 |..Typica|l Partic|
|00000ce0| 69 70 61 6e 74 73 3a 0d | 0a 5b 53 6f 75 72 63 65 |ipants:.|.[Source|
|00000cf0| 5d 20 2d 20 62 75 74 74 | 6f 6e 2c 20 69 6d 61 67 |] - butt|on, imag|
|00000d00| 65 2c 20 65 74 63 2e 0d | 0a 5b 74 61 72 67 65 74 |e, etc..|.[target|
|00000d10| 5d 20 2d 20 52 65 63 6f | 72 64 73 65 74 0d 0a 0d |] - Reco|rdset...|
|00000d20| 0a 46 6f 72 20 6d 6f 72 | 65 20 69 6e 66 6f 72 6d |.For mor|e inform|
|00000d30| 61 74 69 6f 6e 20 6f 6e | 20 63 6f 6e 74 72 61 63 |ation on| contrac|
|00000d40| 74 73 20 6f 66 20 74 68 | 69 73 20 63 61 74 65 67 |ts of th|is categ|
|00000d50| 6f 72 79 2c 20 70 6c 65 | 61 73 65 20 72 65 66 65 |ory, ple|ase refe|
|00000d60| 72 20 74 6f 0d 0a 44 61 | 74 61 62 61 73 65 4d 69 |r to..Da|tabaseMi|
|00000d70| 73 63 65 6c 6c 61 6e 65 | 6f 75 73 2e 64 6f 63 0d |scellane|ous.doc.|
|00000d80| 0a 54 68 69 73 20 66 69 | 6c 65 20 69 73 20 61 76 |.This fi|le is av|
|00000d90| 61 69 6c 61 62 6c 65 20 | 69 6e 20 74 68 65 20 43 |ailable |in the C|
|00000da0| 6f 6e 74 72 61 63 74 73 | 20 66 6f 6c 64 65 72 20 |ontracts| folder |
|00000db0| 69 6e 20 74 68 65 20 44 | 72 75 6d 62 65 61 74 20 |in the D|rumbeat |
|00000dc0| 64 69 72 65 63 74 6f 72 | 79 2e 0d 0a 56 31 30 5f |director|y...V10_|
|00000dd0| 33 30 2e 01 80 12 00 00 | 00 38 44 6f 20 6e 6f 74 |30......|.8Do not|
|00000de0| 20 63 72 65 61 74 65 20 | 5b 73 6f 75 72 63 65 5d | create |[source]|
|00000df0| 20 69 66 20 5b 74 61 72 | 67 65 74 5d 20 69 73 20 | if [tar|get] is |
|00000e00| 6f 6e 20 74 68 65 20 6c | 61 73 74 20 72 65 63 6f |on the l|ast reco|
|00000e10| 72 64 00 00 00 00 00 02 | 00 03 80 01 00 00 00 06 |rd......|........|
|00000e20| 73 6f 75 72 63 65 01 00 | 05 80 03 00 00 00 00 00 |source..|........|
|00000e30| 00 00 0c 53 65 72 76 65 | 72 28 68 74 6d 6c 29 01 |...Serve|r(html).|
|00000e40| 00 09 80 04 00 00 00 0c | 53 65 72 76 65 72 28 68 |........|Server(h|
|00000e50| 74 6d 6c 29 02 00 00 00 | 00 00 00 00 d0 2f 2f 20 |tml)....|.....// |
|00000e60| 44 4f 20 4e 4f 54 20 43 | 52 45 41 54 45 20 54 48 |DO NOT C|REATE TH|
|00000e70| 45 20 42 55 54 54 4f 4e | 20 49 46 20 57 45 27 52 |E BUTTON| IF WE'R|
|00000e80| 45 20 4f 4e 20 54 48 45 | 20 46 49 52 53 54 20 52 |E ON THE| FIRST R|
|00000e90| 45 43 4f 52 44 0d 0a 0d | 0a 63 75 72 50 6f 73 20 |ECORD...|.curPos |
|00000ea0| 3d 20 5b 74 61 72 67 65 | 74 5d 2e 47 65 74 41 62 |= [targe|t].GetAb|
|00000eb0| 73 50 6f 73 28 29 0d 0a | 0d 0a 69 66 20 28 63 75 |sPos()..|..if (cu|
|00000ec0| 72 50 6f 73 20 3d 3d 20 | 22 45 4f 46 22 20 7c 7c |rPos == |"EOF" |||
|00000ed0| 20 63 75 72 50 6f 73 20 | 3d 3d 20 22 4d 54 59 22 | curPos |== "MTY"|
|00000ee0| 20 7c 7c 20 63 75 72 50 | 6f 73 20 3d 3d 20 5b 74 | || curP|os == [t|
|00000ef0| 61 72 67 65 74 5d 2e 52 | 53 2e 52 65 63 6f 72 64 |arget].R|S.Record|
|00000f00| 43 6f 75 6e 74 29 0d 0a | 20 20 20 20 20 68 74 6d |Count)..| htm|
|00000f10| 6c 3d 27 27 3b 0d 0a 0d | 0a 52 65 73 70 6f 6e 73 |l='';...|.Respons|
|00000f20| 65 2e 57 72 69 74 65 28 | 68 74 6d 6c 29 01 00 00 |e.Write(|html)...|
|00000f30| 00 ff 88 01 27 20 44 4f | 20 4e 4f 54 20 43 52 45 |....' DO| NOT CRE|
|00000f40| 41 54 45 20 54 48 45 20 | 42 55 54 54 4f 4e 20 49 |ATE THE |BUTTON I|
|00000f50| 46 20 57 45 27 52 45 20 | 4f 4e 20 54 48 45 20 46 |F WE'RE |ON THE F|
|00000f60| 49 52 53 54 20 52 45 43 | 4f 52 44 0d 0a 0d 0a 52 |IRST REC|ORD....R|
|00000f70| 65 63 43 6f 75 6e 74 20 | 3d 20 43 49 6e 74 28 5b |ecCount |= CInt([|
|00000f80| 74 61 72 67 65 74 5d 2e | 52 53 2e 52 65 63 6f 72 |target].|RS.Recor|
|00000f90| 64 43 6f 75 6e 74 29 0d | 0a 0d 0a 69 66 20 5b 74 |dCount).|...if [t|
|00000fa0| 61 72 67 65 74 5d 2e 47 | 65 74 41 62 73 50 6f 73 |arget].G|etAbsPos|
|00000fb0| 28 29 20 3d 20 22 45 4f | 46 22 20 74 68 65 6e 0d |() = "EO|F" then.|
|00000fc0| 0a 20 20 20 20 70 6f 73 | 69 74 69 6f 6e 20 3d 20 |. pos|ition = |
|00000fd0| 5b 74 61 72 67 65 74 5d | 2e 47 65 74 41 62 73 50 |[target]|.GetAbsP|
|00000fe0| 6f 73 28 29 0d 0a 65 6c | 73 65 69 66 20 5b 74 61 |os()..el|seif [ta|
|00000ff0| 72 67 65 74 5d 2e 47 65 | 74 41 62 73 50 6f 73 28 |rget].Ge|tAbsPos(|
|00001000| 29 20 3d 20 22 4d 54 59 | 22 20 74 68 65 6e 0d 0a |) = "MTY|" then..|
|00001010| 20 20 20 20 70 6f 73 69 | 74 69 6f 6e 20 3d 20 31 | posi|tion = 1|
|00001020| 0d 0a 65 6c 73 65 0d 0a | 20 20 20 20 70 6f 73 69 |..else..| posi|
|00001030| 74 69 6f 6e 20 3d 20 43 | 49 6e 74 28 5b 74 61 72 |tion = C|Int([tar|
|00001040| 67 65 74 5d 2e 47 65 74 | 41 62 73 50 6f 73 28 29 |get].Get|AbsPos()|
|00001050| 29 0d 0a 65 6e 64 20 69 | 66 0d 0a 0d 0a 69 66 20 |)..end i|f....if |
|00001060| 28 70 6f 73 69 74 69 6f | 6e 20 3e 3d 20 52 65 63 |(positio|n >= Rec|
|00001070| 43 6f 75 6e 74 20 4f 52 | 20 70 6f 73 69 74 69 6f |Count OR| positio|
|00001080| 6e 20 3d 20 22 45 4f 46 | 22 29 20 74 68 65 6e 0d |n = "EOF|") then.|
|00001090| 0a 20 20 20 20 68 74 6d | 6c 3d 22 22 0d 0a 65 6e |. htm|l=""..en|
|000010a0| 64 20 69 66 0d 0a 0d 0a | 52 65 73 70 6f 6e 73 65 |d if....|Response|
|000010b0| 2e 57 72 69 74 65 28 68 | 74 6d 6c 29 03 80 01 00 |.Write(h|tml)....|
|000010c0| 00 00 06 74 61 72 67 65 | 74 01 00 05 80 03 00 00 |...targe|t.......|
|000010d0| 00 01 00 00 00 14 47 65 | 74 43 6f 6c 75 6d 6e 56 |......Ge|tColumnV|
|000010e0| 61 6c 75 65 28 6e 61 6d | 65 29 00 00 00 00 16 44 |alue(nam|e).....D|
|000010f0| 61 74 61 62 61 73 65 20 | 4d 69 73 63 65 6c 6c 61 |atabase |Miscella|
|00001100| 6e 65 6f 75 73 00 00 00 | 00 00 00 04 00 00 00 01 |neous...|........|
|00001110| 00 00 00 00 00 1f 92 09 | 97 78 7a d2 11 80 6b 00 |........|.xz...k.|
|00001120| 60 08 d0 5a 6a 01 00 00 | 00 24 33 37 37 41 43 34 |`..Zj...|.$377AC4|
|00001130| 33 30 2d 36 32 31 31 2d | 31 31 44 32 2d 38 31 31 |30-6211-|11D2-811|
|00001140| 37 2d 30 30 36 30 30 38 | 43 38 36 43 32 35 03 33 |7-006008|C86C25.3|
|00001150| 2e 30 ff b4 01 44 65 73 | 63 72 69 70 74 69 6f 6e |.0...Des|cription|
|00001160| 3a 0d 0a 54 68 69 73 20 | 63 6f 6e 74 72 61 63 74 |:..This |contract|
|00001170| 20 69 73 20 64 65 73 69 | 67 6e 65 64 20 66 6f 72 | is desi|gned for|
|00001180| 20 64 65 74 61 69 6c 20 | 70 61 67 65 20 77 69 74 | detail |page wit|
|00001190| 68 20 61 20 73 69 6e 67 | 6c 65 20 72 65 63 6f 72 |h a sing|le recor|
|000011a0| 64 2e 20 20 49 74 20 77 | 69 6c 6c 20 6e 6f 74 20 |d. It w|ill not |
|000011b0| 63 72 65 61 74 65 20 74 | 68 65 20 6f 62 6a 65 63 |create t|he objec|
|000011c0| 74 20 28 75 73 75 61 6c | 6c 79 20 74 68 65 20 22 |t (usual|ly the "|
|000011d0| 6e 65 78 74 22 20 62 75 | 74 74 6f 6e 29 20 69 66 |next" bu|tton) if|
|000011e0| 20 79 6f 75 20 61 72 65 | 20 61 6c 72 65 61 64 79 | you are| already|
|000011f0| 20 6f 6e 20 74 68 65 20 | 6c 61 73 74 20 72 65 63 | on the |last rec|
|00001200| 6f 72 64 2e 20 0d 0a 0d | 0a 50 61 72 61 6d 65 74 |ord. ...|.Paramet|
|00001210| 65 72 73 3a 0d 0a 4e 6f | 6e 65 0d 0a 0d 0a 54 79 |ers:..No|ne....Ty|
|00001220| 70 69 63 61 6c 20 50 61 | 72 74 69 63 69 70 61 6e |pical Pa|rticipan|
|00001230| 74 73 3a 0d 0a 5b 53 6f | 75 72 63 65 5d 20 2d 20 |ts:..[So|urce] - |
|00001240| 62 75 74 74 6f 6e 2c 20 | 69 6d 61 67 65 2c 20 65 |button, |image, e|
|00001250| 74 63 2e 0d 0a 0d 0a 46 | 6f 72 20 6d 6f 72 65 20 |tc.....F|or more |
|00001260| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 6f 6e 20 63 |informat|ion on c|
|00001270| 6f 6e 74 72 61 63 74 73 | 20 6f 66 20 74 68 69 73 |ontracts| of this|
|00001280| 20 63 61 74 65 67 6f 72 | 79 2c 20 70 6c 65 61 73 | categor|y, pleas|
|00001290| 65 20 72 65 66 65 72 20 | 74 6f 0d 0a 44 61 74 61 |e refer |to..Data|
|000012a0| 62 61 73 65 4d 69 73 63 | 65 6c 6c 61 6e 65 6f 75 |baseMisc|ellaneou|
|000012b0| 73 2e 64 6f 63 0d 0a 54 | 68 69 73 20 66 69 6c 65 |s.doc..T|his file|
|000012c0| 20 69 73 20 61 76 61 69 | 6c 61 62 6c 65 20 69 6e | is avai|lable in|
|000012d0| 20 74 68 65 20 43 6f 6e | 74 72 61 63 74 73 20 66 | the Con|tracts f|
|000012e0| 6f 6c 64 65 72 20 69 6e | 20 74 68 65 20 44 72 75 |older in| the Dru|
|000012f0| 6d 62 65 61 74 20 64 69 | 72 65 63 74 6f 72 79 2e |mbeat di|rectory.|
|00001300| 0d 0a 56 31 30 5f 33 30 | 2e 01 80 12 00 00 00 4a |..V10_30|.......J|
|00001310| 44 6f 20 6e 6f 74 20 63 | 72 65 61 74 65 20 5b 73 |Do not c|reate [s|
|00001320| 6f 75 72 63 65 5d 20 69 | 66 20 5b 74 61 62 6c 65 |ource] i|f [table|
|00001330| 5d 20 69 73 20 6f 6e 20 | 74 68 65 20 66 69 72 73 |] is on |the firs|
|00001340| 74 20 70 61 67 65 20 6f | 66 20 5b 74 61 72 67 65 |t page o|f [targe|
|00001350| 74 5d 20 72 65 63 6f 72 | 64 73 00 00 00 00 00 03 |t] recor|ds......|
|00001360| 00 03 80 01 00 00 00 06 | 73 6f 75 72 63 65 01 00 |........|source..|
|00001370| 05 80 03 00 00 00 00 00 | 00 00 0c 53 65 72 76 65 |........|...Serve|
|00001380| 72 28 68 74 6d 6c 29 01 | 00 09 80 04 00 00 00 0c |r(html).|........|
|00001390| 53 65 72 76 65 72 28 68 | 74 6d 6c 29 02 00 00 00 |Server(h|tml)....|
|000013a0| 00 00 00 00 d3 2f 2f 20 | 55 73 65 20 74 68 65 20 |.....// |Use the |
|000013b0| 5b 54 61 62 6c 65 5d 63 | 75 72 50 6f 73 20 76 61 |[Table]c|urPos va|
|000013c0| 72 69 61 62 6c 65 20 63 | 61 6c 63 75 6c 61 74 65 |riable c|alculate|
|000013d0| 64 0d 0a 2f 2f 20 69 6e | 20 74 68 65 20 52 65 63 |d..// in| the Rec|
|000013e0| 6f 72 64 73 65 74 20 53 | 65 72 76 65 72 20 65 76 |ordset S|erver ev|
|000013f0| 65 6e 74 20 74 6f 20 74 | 65 73 74 20 77 68 65 74 |ent to t|est whet|
|00001400| 68 65 72 0d 0a 2f 2f 20 | 74 68 65 20 73 6f 75 72 |her..// |the sour|
|00001410| 63 65 20 73 68 6f 75 6c | 64 20 62 65 20 73 68 6f |ce shoul|d be sho|
|00001420| 77 6e 0d 0a 0d 0a 69 66 | 20 28 5b 54 61 62 6c 65 |wn....if| ([Table|
|00001430| 5d 63 75 72 50 6f 73 20 | 3c 3d 20 31 20 7c 7c 20 |]curPos |<= 1 || |
|00001440| 5b 54 61 62 6c 65 5d 72 | 65 63 43 6f 75 6e 74 20 |[Table]r|ecCount |
|00001450| 3d 3d 20 30 29 0d 0a 20 | 20 20 20 68 74 6d 6c 3d |== 0).. | html=|
|00001460| 27 27 0d 0a 52 65 73 70 | 6f 6e 73 65 2e 57 72 69 |''..Resp|onse.Wri|
|00001470| 74 65 28 68 74 6d 6c 29 | 01 00 00 00 ff 13 01 27 |te(html)|.......'|
|00001480| 20 55 73 65 20 74 68 65 | 20 5b 54 61 62 6c 65 5d | Use the| [Table]|
|00001490| 63 75 72 50 6f 73 20 76 | 61 72 69 61 62 6c 65 20 |curPos v|ariable |
|000014a0| 63 61 6c 63 75 6c 61 74 | 65 64 0d 0a 27 20 69 6e |calculat|ed..' in|
|000014b0| 20 74 68 65 20 52 65 63 | 6f 72 64 73 65 74 20 53 | the Rec|ordset S|
|000014c0| 65 72 76 65 72 20 65 76 | 65 6e 74 20 74 6f 20 74 |erver ev|ent to t|
|000014d0| 65 73 74 20 77 68 65 74 | 68 65 72 0d 0a 27 20 74 |est whet|her..' t|
|000014e0| 68 65 20 73 6f 75 72 63 | 65 20 73 68 6f 75 6c 64 |he sourc|e should|
|000014f0| 20 62 65 20 73 68 6f 77 | 6e 0d 0a 0d 0a 69 66 20 | be show|n....if |
|00001500| 5b 54 61 62 6c 65 5d 63 | 75 72 50 6f 73 20 3d 20 |[Table]c|urPos = |
|00001510| 22 4d 54 59 22 20 74 68 | 65 6e 0d 0a 20 20 20 20 |"MTY" th|en.. |
|00001520| 68 74 6d 6c 20 3d 20 22 | 22 0d 0a 65 6c 73 65 69 |html = "|"..elsei|
|00001530| 66 20 49 73 4e 75 6d 65 | 72 69 63 28 5b 54 61 62 |f IsNume|ric([Tab|
|00001540| 6c 65 5d 63 75 72 50 6f | 73 29 20 41 6e 64 20 5b |le]curPo|s) And [|
|00001550| 54 61 62 6c 65 5d 63 75 | 72 50 6f 73 20 3c 3d 20 |Table]cu|rPos <= |
|00001560| 31 20 20 74 68 65 6e 0d | 0a 20 20 20 20 68 74 6d |1 then.|. htm|
|00001570| 6c 3d 22 22 0d 0a 65 6e | 64 20 69 66 0d 0a 52 65 |l=""..en|d if..Re|
|00001580| 73 70 6f 6e 73 65 2e 57 | 72 69 74 65 28 68 74 6d |sponse.W|rite(htm|
|00001590| 6c 29 03 80 01 00 00 00 | 06 74 61 72 67 65 74 02 |l)......|.target.|
|000015a0| 00 05 80 03 00 00 00 01 | 00 00 00 0e 4d 6f 76 65 |........|....Move|
|000015b0| 28 70 6f 73 69 74 69 6f | 6e 29 05 80 03 00 00 00 |(positio|n)......|
|000015c0| 00 00 00 00 08 53 65 72 | 76 65 72 28 29 01 00 09 |.....Ser|ver()...|
|000015d0| 80 04 00 00 00 08 53 65 | 72 76 65 72 28 29 02 00 |......Se|rver()..|
|000015e0| 00 00 00 00 00 00 ff 1f | 04 2f 2f 20 54 68 65 20 |........|.// The |
|000015f0| 66 6f 6c 6c 6f 77 69 6e | 67 20 63 6f 64 65 20 63 |followin|g code c|
|00001600| 61 6c 63 75 6c 61 74 65 | 73 20 74 68 65 20 74 6f |alculate|s the to|
|00001610| 70 20 61 6e 64 20 62 6f | 74 74 6f 6d 20 0d 0a 2f |p and bo|ttom ../|
|00001620| 2f 20 72 65 63 6f 72 64 | 73 20 64 69 73 70 6c 61 |/ record|s displa|
|00001630| 79 65 64 20 69 6e 20 74 | 68 65 20 74 61 62 6c 65 |yed in t|he table|
|00001640| 20 73 6f 20 69 74 20 63 | 61 6e 0d 0a 2f 2f 20 62 | so it c|an..// b|
|00001650| 65 20 75 73 65 64 20 74 | 6f 20 74 65 73 74 20 77 |e used t|o test w|
|00001660| 68 65 74 68 65 72 20 74 | 68 65 20 73 6f 75 72 63 |hether t|he sourc|
|00001670| 65 20 62 75 74 74 6f 6e | 20 6f 72 0d 0a 2f 2f 20 |e button| or..// |
|00001680| 69 6d 61 67 65 20 73 68 | 6f 75 6c 64 20 62 65 20 |image sh|ould be |
|00001690| 64 69 73 70 6c 61 79 65 | 64 2e 0d 0a 0d 0a 5b 54 |displaye|d.....[T|
|000016a0| 61 62 6c 65 5d 53 74 61 | 74 65 20 3d 20 53 74 72 |able]Sta|te = Str|
|000016b0| 69 6e 67 28 52 65 71 75 | 65 73 74 28 22 5b 54 61 |ing(Requ|est("[Ta|
|000016c0| 62 6c 65 5d 5f 53 74 61 | 74 65 22 29 29 0d 0a 5b |ble]_Sta|te"))..[|
|000016d0| 54 61 62 6c 65 5d 63 75 | 72 50 6f 73 20 3d 20 4e |Table]cu|rPos = N|
|000016e0| 75 6d 62 65 72 28 5b 74 | 61 72 67 65 74 5d 2e 47 |umber([t|arget].G|
|000016f0| 65 74 41 62 73 50 6f 73 | 28 29 29 0d 0a 0d 0a 5b |etAbsPos|())....[|
|00001700| 54 61 62 6c 65 5d 70 61 | 67 65 53 69 7a 65 20 3d |Table]pa|geSize =|
|00001710| 20 4e 75 6d 62 65 72 28 | 5b 50 61 67 65 53 69 7a | Number(|[PageSiz|
|00001720| 65 5d 29 0d 0a 5b 54 61 | 62 6c 65 5d 72 65 63 43 |e])..[Ta|ble]recC|
|00001730| 6f 75 6e 74 20 3d 20 5b | 74 61 72 67 65 74 5d 2e |ount = [|target].|
|00001740| 52 53 2e 52 65 63 6f 72 | 64 43 6f 75 6e 74 0d 0a |RS.Recor|dCount..|
|00001750| 0d 0a 69 66 20 28 5b 54 | 61 62 6c 65 5d 5f 41 63 |..if ([T|able]_Ac|
|00001760| 74 69 6f 6e 20 3d 3d 20 | 22 42 61 63 6b 77 61 72 |tion == |"Backwar|
|00001770| 64 22 29 0d 0a 7b 0d 0a | 20 69 66 20 28 69 73 4e |d")..{..| if (isN|
|00001780| 61 4e 28 5b 54 61 62 6c | 65 5d 63 75 72 50 6f 73 |aN([Tabl|e]curPos|
|00001790| 29 29 0d 0a 09 7b 0d 0a | 09 09 5b 54 61 62 6c 65 |))...{..|..[Table|
|000017a0| 5d 63 75 72 50 6f 73 20 | 3d 20 5b 54 61 62 6c 65 |]curPos |= [Table|
|000017b0| 5d 72 65 63 43 6f 75 6e | 74 20 2d 20 5b 54 61 62 |]recCoun|t - [Tab|
|000017c0| 6c 65 5d 70 61 67 65 53 | 69 7a 65 20 2d 20 5b 54 |le]pageS|ize - [T|
|000017d0| 61 62 6c 65 5d 53 74 61 | 74 65 20 2b 20 31 0d 0a |able]Sta|te + 1..|
|000017e0| 09 09 69 66 20 28 5b 54 | 61 62 6c 65 5d 63 75 72 |..if ([T|able]cur|
|000017f0| 50 6f 73 20 3c 3d 20 30 | 29 0d 0a 09 09 7b 0d 0a |Pos <= 0|)....{..|
|00001800| 09 09 09 5b 54 61 62 6c | 65 5d 63 75 72 50 6f 73 |...[Tabl|e]curPos|
|00001810| 20 3d 20 31 0d 0a 09 09 | 7d 0d 0a 09 7d 0d 0a 09 | = 1....|}...}...|
|00001820| 65 6c 73 65 0d 0a 20 7b | 0d 0a 20 20 5b 54 61 62 |else.. {|.. [Tab|
|00001830| 6c 65 5d 63 75 72 50 6f | 73 20 2d 3d 20 5b 54 61 |le]curPo|s -= [Ta|
|00001840| 62 6c 65 5d 70 61 67 65 | 53 69 7a 65 2a 32 0d 0a |ble]page|Size*2..|
|00001850| 09 20 69 66 20 28 5b 54 | 61 62 6c 65 5d 63 75 72 |. if ([T|able]cur|
|00001860| 50 6f 73 20 3c 3d 20 30 | 29 0d 0a 09 20 7b 0d 0a |Pos <= 0|)... {..|
|00001870| 09 09 20 5b 54 61 62 6c | 65 5d 63 75 72 50 6f 73 |.. [Tabl|e]curPos|
|00001880| 20 3d 20 31 0d 0a 09 20 | 7d 0d 0a 20 7d 0d 0a 7d | = 1... |}.. }..}|
|00001890| 0d 0a 65 6c 73 65 20 69 | 66 20 28 5b 54 61 62 6c |..else i|f ([Tabl|
|000018a0| 65 5d 5f 41 63 74 69 6f | 6e 20 3d 3d 20 22 46 6f |e]_Actio|n == "Fo|
|000018b0| 72 77 61 72 64 22 29 0d | 0a 7b 09 0d 0a 20 69 66 |rward").|.{... if|
|000018c0| 20 28 53 74 72 69 6e 67 | 28 5b 54 61 62 6c 65 5d | (String|([Table]|
|000018d0| 63 75 72 50 6f 73 29 20 | 3d 3d 20 22 4e 61 4e 22 |curPos) |== "NaN"|
|000018e0| 20 7c 7c 20 28 5b 54 61 | 62 6c 65 5d 63 75 72 50 | || ([Ta|ble]curP|
|000018f0| 6f 73 20 3e 20 5b 54 61 | 62 6c 65 5d 72 65 63 43 |os > [Ta|ble]recC|
|00001900| 6f 75 6e 74 29 29 0d 0a | 09 7b 0d 0a 09 09 5b 54 |ount))..|.{....[T|
|00001910| 61 62 6c 65 5d 63 75 72 | 50 6f 73 20 3d 20 5b 54 |able]cur|Pos = [T|
|00001920| 61 62 6c 65 5d 72 65 63 | 43 6f 75 6e 74 20 2d 20 |able]rec|Count - |
|00001930| 5b 54 61 62 6c 65 5d 53 | 74 61 74 65 20 2b 20 31 |[Table]S|tate + 1|
|00001940| 0d 0a 09 09 69 66 20 28 | 5b 54 61 62 6c 65 5d 63 |....if (|[Table]c|
|00001950| 75 72 50 6f 73 20 3c 3d | 20 30 29 0d 0a 09 09 7b |urPos <=| 0)....{|
|00001960| 0d 0a 09 09 09 5b 54 61 | 62 6c 65 5d 63 75 72 50 |.....[Ta|ble]curP|
|00001970| 6f 73 20 3d 20 31 0d 0a | 09 09 7d 0d 0a 09 7d 0d |os = 1..|..}...}.|
|00001980| 0a 7d 0d 0a 5b 54 61 62 | 6c 65 5d 65 6e 64 52 65 |.}..[Tab|le]endRe|
|00001990| 63 20 3d 20 5b 54 61 62 | 6c 65 5d 63 75 72 50 6f |c = [Tab|le]curPo|
|000019a0| 73 20 2b 20 5b 54 61 62 | 6c 65 5d 70 61 67 65 53 |s + [Tab|le]pageS|
|000019b0| 69 7a 65 20 2d 20 31 0d | 0a 69 66 20 28 5b 54 61 |ize - 1.|.if ([Ta|
|000019c0| 62 6c 65 5d 65 6e 64 52 | 65 63 20 3e 20 5b 54 61 |ble]endR|ec > [Ta|
|000019d0| 62 6c 65 5d 72 65 63 43 | 6f 75 6e 74 29 0d 0a 7b |ble]recC|ount)..{|
|000019e0| 0d 0a 20 20 20 20 5b 54 | 61 62 6c 65 5d 65 6e 64 |.. [T|able]end|
|000019f0| 52 65 63 20 3d 20 5b 54 | 61 62 6c 65 5d 72 65 63 |Rec = [T|able]rec|
|00001a00| 43 6f 75 6e 74 0d 0a 7d | 01 00 00 00 ff 9e 04 27 |Count..}|.......'|
|00001a10| 20 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 63 | The fol|lowing c|
|00001a20| 6f 64 65 20 63 61 6c 63 | 75 6c 61 74 65 73 20 74 |ode calc|ulates t|
|00001a30| 68 65 20 74 6f 70 20 61 | 6e 64 20 62 6f 74 74 6f |he top a|nd botto|
|00001a40| 6d 20 0d 0a 27 20 72 65 | 63 6f 72 64 73 20 64 69 |m ..' re|cords di|
|00001a50| 73 70 6c 61 79 65 64 20 | 69 6e 20 74 68 65 20 74 |splayed |in the t|
|00001a60| 61 62 6c 65 20 73 6f 20 | 69 74 20 63 61 6e 0d 0a |able so |it can..|
|00001a70| 27 20 62 65 20 75 73 65 | 64 20 74 6f 20 74 65 73 |' be use|d to tes|
|00001a80| 74 20 77 68 65 74 68 65 | 72 20 74 68 65 20 73 6f |t whethe|r the so|
|00001a90| 75 72 63 65 20 62 75 74 | 74 6f 6e 20 6f 72 0d 0a |urce but|ton or..|
|00001aa0| 27 20 69 6d 61 67 65 20 | 73 68 6f 75 6c 64 20 62 |' image |should b|
|00001ab0| 65 20 64 69 73 70 6c 61 | 79 65 64 2e 0d 0a 0d 0a |e displa|yed.....|
|00001ac0| 5b 54 61 62 6c 65 5d 53 | 74 61 74 65 20 3d 20 43 |[Table]S|tate = C|
|00001ad0| 4c 6e 67 28 52 65 71 75 | 65 73 74 28 22 5b 54 61 |Lng(Requ|est("[Ta|
|00001ae0| 62 6c 65 5d 5f 53 74 61 | 74 65 22 29 29 0d 0a 5b |ble]_Sta|te"))..[|
|00001af0| 54 61 62 6c 65 5d 70 61 | 67 65 53 69 7a 65 20 3d |Table]pa|geSize =|
|00001b00| 20 43 4c 6e 67 28 5b 50 | 61 67 65 53 69 7a 65 5d | CLng([P|ageSize]|
|00001b10| 29 0d 0a 5b 54 61 62 6c | 65 5d 72 65 63 43 6f 75 |)..[Tabl|e]recCou|
|00001b20| 6e 74 20 3d 20 5b 74 61 | 72 67 65 74 5d 2e 52 53 |nt = [ta|rget].RS|
|00001b30| 2e 52 65 63 6f 72 64 43 | 6f 75 6e 74 0d 0a 0d 0a |.RecordC|ount....|
|00001b40| 69 66 20 5b 74 61 72 67 | 65 74 5d 2e 47 65 74 41 |if [targ|et].GetA|
|00001b50| 62 73 50 6f 73 28 29 20 | 3d 20 22 45 4f 46 22 20 |bsPos() |= "EOF" |
|00001b60| 4f 72 20 5b 74 61 72 67 | 65 74 5d 2e 47 65 74 41 |Or [targ|et].GetA|
|00001b70| 62 73 50 6f 73 28 29 20 | 3d 20 22 4d 54 59 22 20 |bsPos() |= "MTY" |
|00001b80| 74 68 65 6e 0d 0a 20 20 | 20 20 5b 54 61 62 6c 65 |then.. | [Table|
|00001b90| 5d 63 75 72 50 6f 73 20 | 3d 20 5b 74 61 72 67 65 |]curPos |= [targe|
|00001ba0| 74 5d 2e 47 65 74 41 62 | 73 50 6f 73 28 29 0d 0a |t].GetAb|sPos()..|
|00001bb0| 65 6c 73 65 0d 0a 20 20 | 20 20 5b 54 61 62 6c 65 |else.. | [Table|
|00001bc0| 5d 63 75 72 50 6f 73 20 | 3d 20 43 4c 6e 67 28 28 |]curPos |= CLng((|
|00001bd0| 5b 74 61 72 67 65 74 5d | 2e 47 65 74 41 62 73 50 |[target]|.GetAbsP|
|00001be0| 6f 73 28 29 29 29 0d 0a | 65 6e 64 20 69 66 0d 0a |os()))..|end if..|
|00001bf0| 0d 0a 69 66 20 28 5b 54 | 61 62 6c 65 5d 5f 41 63 |..if ([T|able]_Ac|
|00001c00| 74 69 6f 6e 20 3d 20 22 | 42 61 63 6b 77 61 72 64 |tion = "|Backward|
|00001c10| 22 29 20 74 68 65 6e 0d | 0a 20 20 20 20 69 66 20 |") then.|. if |
|00001c20| 28 4e 6f 74 20 49 73 4e | 75 6d 65 72 69 63 28 5b |(Not IsN|umeric([|
|00001c30| 54 61 62 6c 65 5d 63 75 | 72 50 6f 73 29 29 20 74 |Table]cu|rPos)) t|
|00001c40| 68 65 6e 0d 0a 09 20 20 | 20 20 20 20 20 5b 54 61 |hen... | [Ta|
|00001c50| 62 6c 65 5d 63 75 72 50 | 6f 73 20 3d 20 5b 54 61 |ble]curP|os = [Ta|
|00001c60| 62 6c 65 5d 72 65 63 43 | 6f 75 6e 74 20 2d 20 5b |ble]recC|ount - [|
|00001c70| 54 61 62 6c 65 5d 70 61 | 67 65 53 69 7a 65 20 2d |Table]pa|geSize -|
|00001c80| 20 5b 54 61 62 6c 65 5d | 53 74 61 74 65 20 2b 20 | [Table]|State + |
|00001c90| 31 0d 0a 09 09 20 20 20 | 20 20 20 69 66 20 28 5b |1.... | if ([|
|00001ca0| 54 61 62 6c 65 5d 63 75 | 72 50 6f 73 20 3c 3d 20 |Table]cu|rPos <= |
|00001cb0| 30 29 20 74 68 65 6e 0d | 0a 09 09 09 20 20 20 20 |0) then.|.... |
|00001cc0| 20 20 20 20 20 5b 54 61 | 62 6c 65 5d 63 75 72 50 | [Ta|ble]curP|
|00001cd0| 6f 73 20 3d 20 31 0d 0a | 09 09 20 20 20 20 20 20 |os = 1..|.. |
|00001ce0| 65 6e 64 20 69 66 0d 0a | 09 20 20 20 65 6c 73 65 |end if..|. else|
|00001cf0| 0d 0a 20 20 20 20 20 20 | 20 20 5b 54 61 62 6c 65 |.. | [Table|
|00001d00| 5d 63 75 72 50 6f 73 20 | 3d 20 5b 54 61 62 6c 65 |]curPos |= [Table|
|00001d10| 5d 63 75 72 50 6f 73 20 | 2d 20 5b 54 61 62 6c 65 |]curPos |- [Table|
|00001d20| 5d 70 61 67 65 53 69 7a | 65 2a 32 0d 0a 09 20 20 |]pageSiz|e*2... |
|00001d30| 20 20 20 20 20 69 66 20 | 28 5b 54 61 62 6c 65 5d | if |([Table]|
|00001d40| 63 75 72 50 6f 73 20 3c | 3d 20 30 29 20 74 68 65 |curPos <|= 0) the|
|00001d50| 6e 0d 0a 09 20 20 20 20 | 20 20 20 20 20 20 20 5b |n... | [|
|00001d60| 54 61 62 6c 65 5d 63 75 | 72 50 6f 73 20 3d 20 31 |Table]cu|rPos = 1|
|00001d70| 0d 0a 09 20 20 20 20 20 | 20 20 65 6e 64 20 69 66 |... | end if|
|00001d80| 0d 0a 20 20 20 20 65 6e | 64 20 69 66 0d 0a 65 6c |.. en|d if..el|
|00001d90| 73 65 69 66 20 28 5b 54 | 61 62 6c 65 5d 5f 41 63 |seif ([T|able]_Ac|
|00001da0| 74 69 6f 6e 20 3d 20 22 | 46 6f 72 77 61 72 64 22 |tion = "|Forward"|
|00001db0| 29 20 74 68 65 6e 0d 0a | 20 20 20 20 69 66 20 28 |) then..| if (|
|00001dc0| 4e 6f 74 20 49 73 4e 75 | 6d 65 72 69 63 28 5b 54 |Not IsNu|meric([T|
|00001dd0| 61 62 6c 65 5d 63 75 72 | 50 6f 73 29 20 20 4f 72 |able]cur|Pos) Or|
|00001de0| 20 28 5b 54 61 62 6c 65 | 5d 63 75 72 50 6f 73 20 | ([Table|]curPos |
|00001df0| 3e 20 5b 54 61 62 6c 65 | 5d 72 65 63 43 6f 75 6e |> [Table|]recCoun|
|00001e00| 74 29 29 20 74 68 65 6e | 0d 0a 20 20 20 20 20 20 |t)) then|.. |
|00001e10| 20 20 5b 54 61 62 6c 65 | 5d 63 75 72 50 6f 73 20 | [Table|]curPos |
|00001e20| 3d 20 5b 54 61 62 6c 65 | 5d 72 65 63 43 6f 75 6e |= [Table|]recCoun|
|00001e30| 74 20 2d 20 5b 54 61 62 | 6c 65 5d 53 74 61 74 65 |t - [Tab|le]State|
|00001e40| 20 2b 20 31 0d 0a 09 09 | 20 20 20 20 20 20 69 66 | + 1....| if|
|00001e50| 20 28 5b 54 61 62 6c 65 | 5d 63 75 72 50 6f 73 20 | ([Table|]curPos |
|00001e60| 3c 3d 20 30 29 20 74 68 | 65 6e 0d 0a 09 09 20 20 |<= 0) th|en.... |
|00001e70| 20 20 20 20 20 20 20 20 | 5b 54 61 62 6c 65 5d 63 | |[Table]c|
|00001e80| 75 72 50 6f 73 20 3d 20 | 31 0d 0a 20 20 20 20 20 |urPos = |1.. |
|00001e90| 20 20 20 65 6e 64 20 69 | 66 0d 0a 20 20 20 20 65 | end i|f.. e|
|00001ea0| 6e 64 20 69 66 0d 0a 65 | 6e 64 20 69 66 03 80 01 |nd if..e|nd if...|
|00001eb0| 00 00 00 05 54 61 62 6c | 65 01 00 05 80 03 00 00 |....Tabl|e.......|
|00001ec0| 00 01 00 00 00 0a 6e 65 | 78 74 50 61 67 65 28 29 |......ne|xtPage()|
|00001ed0| 00 00 01 00 0b 80 05 00 | 00 00 08 50 61 67 65 53 |........|...PageS|
|00001ee0| 69 7a 65 02 00 00 00 03 | 00 0a 00 00 00 00 00 00 |ize.....|........|
|00001ef0| 00 00 00 00 00 00 00 00 | 16 44 61 74 61 62 61 73 |........|.Databas|
|00001f00| 65 20 4d 69 73 63 65 6c | 6c 61 6e 65 6f 75 73 00 |e Miscel|laneous.|
|00001f10| 00 00 00 00 00 04 00 00 | 00 01 00 00 00 01 00 09 |........|........|
|00001f20| 80 04 00 00 00 06 53 65 | 72 76 65 72 01 00 00 00 |......Se|rver....|
|00001f30| 01 00 00 00 11 44 69 6d | 20 5b 54 61 62 6c 65 5d |.....Dim| [Table]|
|00001f40| 63 75 72 50 6f 73 10 a7 | ac 09 e3 8e d2 11 85 ea |curPos..|........|
|00001f50| 00 60 08 ce 58 2b 01 00 | 00 00 24 33 37 37 41 43 |.`..X+..|..$377AC|
|00001f60| 34 33 30 2d 36 32 31 31 | 2d 31 31 44 32 2d 38 31 |430-6211|-11D2-81|
|00001f70| 31 37 2d 30 30 36 30 30 | 38 43 38 36 43 32 35 03 |17-00600|8C86C25.|
|00001f80| 33 2e 30 ff 63 02 44 65 | 73 63 72 69 70 74 69 6f |3.0.c.De|scriptio|
|00001f90| 6e 3a 0d 0a 54 68 69 73 | 20 63 6f 6e 74 72 61 63 |n:..This| contrac|
|00001fa0| 74 20 69 73 20 74 68 72 | 65 65 2d 77 61 79 20 69 |t is thr|ee-way i|
|00001fb0| 6e 74 65 72 61 63 74 69 | 6f 6e 20 64 65 73 69 67 |nteracti|on desig|
|00001fc0| 6e 65 64 20 66 6f 72 20 | 72 65 73 75 6c 74 73 20 |ned for |results |
|00001fd0| 70 61 67 65 20 74 68 61 | 74 20 75 73 65 73 20 61 |page tha|t uses a|
|00001fe0| 6e 20 41 75 74 6f 54 61 | 62 6c 65 2e 20 20 49 74 |n AutoTa|ble. It|
|00001ff0| 20 77 69 6c 6c 20 6e 6f | 74 20 63 72 65 61 74 65 | will no|t create|
|00002000| 20 74 68 65 20 6f 62 6a | 65 63 74 20 28 75 73 75 | the obj|ect (usu|
|00002010| 61 6c 6c 79 20 74 68 65 | 20 22 70 72 65 76 22 20 |ally the| "prev" |
|00002020| 62 75 74 74 6f 6e 29 20 | 69 66 20 79 6f 75 20 61 |button) |if you a|
|00002030| 72 65 20 61 6c 72 65 61 | 64 79 20 6f 6e 20 74 68 |re alrea|dy on th|
|00002040| 65 20 66 69 72 73 74 20 | 70 61 67 65 20 6f 66 20 |e first |page of |
|00002050| 72 65 63 6f 72 64 73 2e | 0d 0a 0d 0a 50 61 72 61 |records.|....Para|
|00002060| 6d 65 74 65 72 73 3a 0d | 0a 50 61 67 65 53 69 7a |meters:.|.PageSiz|
|00002070| 65 3a 20 54 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |e: The n|umber of|
|00002080| 20 72 65 63 6f 72 64 73 | 20 69 6e 20 61 20 70 61 | records| in a pa|
|00002090| 67 65 2e 20 20 54 68 69 | 73 20 73 68 6f 75 6c 64 |ge. Thi|s should|
|000020a0| 20 62 65 20 73 65 74 20 | 74 6f 20 74 68 65 20 41 | be set |to the A|
|000020b0| 75 74 6f 54 61 62 6c 65 | 27 73 20 70 61 67 65 20 |utoTable|'s page |
|000020c0| 73 69 7a 65 20 61 74 74 | 72 69 62 75 74 65 2e 0d |size att|ribute..|
|000020d0| 0a 0d 0a 54 79 70 69 63 | 61 6c 20 50 61 72 74 69 |...Typic|al Parti|
|000020e0| 63 69 70 61 6e 74 73 3a | 0d 0a 5b 53 6f 75 72 63 |cipants:|..[Sourc|
|000020f0| 65 5d 20 2d 20 62 75 74 | 74 6f 6e 2c 20 69 6d 61 |e] - but|ton, ima|
|00002100| 67 65 2c 20 65 74 63 2e | 0d 0a 5b 54 61 62 6c 65 |ge, etc.|..[Table|
|00002110| 5d 20 2d 20 41 75 74 6f | 54 61 62 6c 65 0d 0a 5b |] - Auto|Table..[|
|00002120| 54 61 72 67 65 74 5d 20 | 2d 20 52 65 63 6f 72 64 |Target] |- Record|
|00002130| 73 65 74 0d 0a 0d 0a 46 | 6f 72 20 6d 6f 72 65 20 |set....F|or more |
|00002140| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 6f 6e 20 63 |informat|ion on c|
|00002150| 6f 6e 74 72 61 63 74 73 | 20 6f 66 20 74 68 69 73 |ontracts| of this|
|00002160| 20 63 61 74 65 67 6f 72 | 79 2c 20 70 6c 65 61 73 | categor|y, pleas|
|00002170| 65 20 72 65 66 65 72 20 | 74 6f 0d 0a 44 61 74 61 |e refer |to..Data|
|00002180| 62 61 73 65 4d 69 73 63 | 65 6c 6c 61 6e 65 6f 75 |baseMisc|ellaneou|
|00002190| 73 2e 64 6f 63 0d 0a 54 | 68 69 73 20 66 69 6c 65 |s.doc..T|his file|
|000021a0| 20 69 73 20 61 76 61 69 | 6c 61 62 6c 65 20 69 6e | is avai|lable in|
|000021b0| 20 74 68 65 20 43 6f 6e | 74 72 61 63 74 73 20 66 | the Con|tracts f|
|000021c0| 6f 6c 64 65 72 20 69 6e | 20 74 68 65 20 44 72 75 |older in| the Dru|
|000021d0| 6d 62 65 61 74 20 64 69 | 72 65 63 74 6f 72 79 2e |mbeat di|rectory.|
|000021e0| 0d 0a 56 31 30 5f 33 30 | 2e 01 80 12 00 00 00 49 |..V10_30|.......I|
|000021f0| 44 6f 20 6e 6f 74 20 63 | 72 65 61 74 65 20 5b 73 |Do not c|reate [s|
|00002200| 6f 75 72 63 65 5d 20 69 | 66 20 5b 74 61 62 6c 65 |ource] i|f [table|
|00002210| 5d 20 69 73 20 6f 6e 20 | 74 68 65 20 6c 61 73 74 |] is on |the last|
|00002220| 20 70 61 67 65 20 6f 66 | 20 5b 74 61 72 67 65 74 | page of| [target|
|00002230| 5d 20 72 65 63 6f 72 64 | 73 00 00 00 00 00 03 00 |] record|s.......|
|00002240| 03 80 01 00 00 00 06 73 | 6f 75 72 63 65 01 00 05 |.......s|ource...|
|00002250| 80 03 00 00 00 00 00 00 | 00 0c 53 65 72 76 65 72 |........|..Server|
|00002260| 28 68 74 6d 6c 29 01 00 | 09 80 04 00 00 00 0c 53 |(html)..|.......S|
|00002270| 65 72 76 65 72 28 68 74 | 6d 6c 29 02 00 00 00 00 |erver(ht|ml).....|
|00002280| 00 00 00 ef 2f 2f 20 55 | 73 65 20 74 68 65 20 5b |....// U|se the [|
|00002290| 54 61 62 6c 65 5d 63 75 | 72 50 6f 73 20 76 61 72 |Table]cu|rPos var|
|000022a0| 69 61 62 6c 65 20 63 61 | 6c 63 75 6c 61 74 65 64 |iable ca|lculated|
|000022b0| 0d 0a 2f 2f 20 69 6e 20 | 74 68 65 20 52 65 63 6f |..// in |the Reco|
|000022c0| 72 64 73 65 74 20 53 65 | 72 76 65 72 20 65 76 65 |rdset Se|rver eve|
|000022d0| 6e 74 20 74 6f 20 74 65 | 73 74 20 77 68 65 74 68 |nt to te|st wheth|
|000022e0| 65 72 0d 0a 2f 2f 20 74 | 68 65 20 73 6f 75 72 63 |er..// t|he sourc|
|000022f0| 65 20 73 68 6f 75 6c 64 | 20 62 65 20 73 68 6f 77 |e should| be show|
|00002300| 6e 0d 0a 0d 0a 69 66 20 | 28 5b 54 61 62 6c 65 5d |n....if |([Table]|
|00002310| 63 75 72 50 6f 73 20 3e | 20 28 5b 54 61 62 6c 65 |curPos >| ([Table|
|00002320| 5d 72 65 63 43 6f 75 6e | 74 20 2d 20 5b 50 61 67 |]recCoun|t - [Pag|
|00002330| 65 53 69 7a 65 5d 29 20 | 7c 7c 20 69 73 4e 61 4e |eSize]) ||| isNaN|
|00002340| 28 5b 54 61 62 6c 65 5d | 63 75 72 50 6f 73 29 29 |([Table]|curPos))|
|00002350| 0d 0a 20 20 20 20 68 74 | 6d 6c 3d 27 27 0d 0a 52 |.. ht|ml=''..R|
|00002360| 65 73 70 6f 6e 73 65 2e | 57 72 69 74 65 28 68 74 |esponse.|Write(ht|
|00002370| 6d 6c 29 01 00 00 00 ff | 64 01 27 20 55 73 65 20 |ml).....|d.' Use |
|00002380| 74 68 65 20 5b 54 61 62 | 6c 65 5d 5b 73 6f 75 72 |the [Tab|le][sour|
|00002390| 63 65 5d 63 75 72 50 6f | 73 20 76 61 72 69 61 62 |ce]curPo|s variab|
|000023a0| 6c 65 20 63 61 6c 63 75 | 6c 61 74 65 64 0d 0a 27 |le calcu|lated..'|
|000023b0| 20 69 6e 20 74 68 65 20 | 52 65 63 6f 72 64 73 65 | in the |Recordse|
|000023c0| 74 20 53 65 72 76 65 72 | 20 65 76 65 6e 74 20 74 |t Server| event t|
|000023d0| 6f 20 74 65 73 74 20 77 | 68 65 74 68 65 72 0d 0a |o test w|hether..|
|000023e0| 27 20 74 68 65 20 73 6f | 75 72 63 65 20 73 68 6f |' the so|urce sho|
|000023f0| 75 6c 64 20 62 65 20 73 | 68 6f 77 6e 0d 0a 0d 0a |uld be s|hown....|
|00002400| 50 61 67 65 53 69 7a 65 | 20 3d 20 43 4c 6e 67 28 |PageSize| = CLng(|
|00002410| 5b 50 61 67 65 53 69 7a | 65 5d 29 0d 0a 52 65 63 |[PageSiz|e])..Rec|
|00002420| 43 6f 75 6e 74 20 3d 20 | 43 4c 6e 67 28 5b 74 61 |Count = |CLng([ta|
|00002430| 72 67 65 74 5d 2e 52 53 | 2e 52 65 63 6f 72 64 43 |rget].RS|.RecordC|
|00002440| 6f 75 6e 74 29 0d 0a 0d | 0a 69 66 20 28 5b 54 61 |ount)...|.if ([Ta|
|00002450| 62 6c 65 5d 5b 73 6f 75 | 72 63 65 5d 63 75 72 50 |ble][sou|rce]curP|
|00002460| 6f 73 20 3e 20 28 52 65 | 63 43 6f 75 6e 74 20 2d |os > (Re|cCount -|
|00002470| 20 50 61 67 65 53 69 7a | 65 29 29 20 4f 72 20 28 | PageSiz|e)) Or (|
|00002480| 5b 54 61 62 6c 65 5d 5b | 73 6f 75 72 63 65 5d 63 |[Table][|source]c|
|00002490| 75 72 50 6f 73 20 3d 20 | 22 45 4f 46 22 20 4f 72 |urPos = |"EOF" Or|
|000024a0| 20 52 65 63 43 6f 75 6e | 74 20 3d 20 30 29 20 74 | RecCoun|t = 0) t|
|000024b0| 68 65 6e 0d 0a 20 20 20 | 20 68 74 6d 6c 3d 22 22 |hen.. | html=""|
|000024c0| 0d 0a 65 6e 64 20 69 66 | 0d 0a 52 65 73 70 6f 6e |..end if|..Respon|
|000024d0| 73 65 2e 57 72 69 74 65 | 28 68 74 6d 6c 29 03 80 |se.Write|(html)..|
|000024e0| 01 00 00 00 06 74 61 72 | 67 65 74 02 00 05 80 03 |.....tar|get.....|
|000024f0| 00 00 00 01 00 00 00 0e | 4d 6f 76 65 28 70 6f 73 |........|Move(pos|
|00002500| 69 74 69 6f 6e 29 05 80 | 03 00 00 00 00 00 00 00 |ition)..|........|
|00002510| 08 53 65 72 76 65 72 28 | 29 01 00 09 80 04 00 00 |.Server(|).......|
|00002520| 00 08 53 65 72 76 65 72 | 28 29 02 00 00 00 00 00 |..Server|()......|
|00002530| 00 00 ff 1f 04 2f 2f 20 | 54 68 65 20 66 6f 6c 6c |.....// |The foll|
|00002540| 6f 77 69 6e 67 20 63 6f | 64 65 20 63 61 6c 63 75 |owing co|de calcu|
|00002550| 6c 61 74 65 73 20 74 68 | 65 20 74 6f 70 20 61 6e |lates th|e top an|
|00002560| 64 20 62 6f 74 74 6f 6d | 20 0d 0a 2f 2f 20 72 65 |d bottom| ..// re|
|00002570| 63 6f 72 64 73 20 64 69 | 73 70 6c 61 79 65 64 20 |cords di|splayed |
|00002580| 69 6e 20 74 68 65 20 74 | 61 62 6c 65 20 73 6f 20 |in the t|able so |
|00002590| 69 74 20 63 61 6e 0d 0a | 2f 2f 20 62 65 20 75 73 |it can..|// be us|
|000025a0| 65 64 20 74 6f 20 74 65 | 73 74 20 77 68 65 74 68 |ed to te|st wheth|
|000025b0| 65 72 20 74 68 65 20 73 | 6f 75 72 63 65 20 62 75 |er the s|ource bu|
|000025c0| 74 74 6f 6e 20 6f 72 0d | 0a 2f 2f 20 69 6d 61 67 |tton or.|.// imag|
|000025d0| 65 20 73 68 6f 75 6c 64 | 20 62 65 20 64 69 73 70 |e should| be disp|
|000025e0| 6c 61 79 65 64 2e 0d 0a | 0d 0a 5b 54 61 62 6c 65 |layed...|..[Table|
|000025f0| 5d 53 74 61 74 65 20 3d | 20 53 74 72 69 6e 67 28 |]State =| String(|
|00002600| 52 65 71 75 65 73 74 28 | 22 5b 54 61 62 6c 65 5d |Request(|"[Table]|
|00002610| 5f 53 74 61 74 65 22 29 | 29 0d 0a 5b 54 61 62 6c |_State")|)..[Tabl|
|00002620| 65 5d 63 75 72 50 6f 73 | 20 3d 20 4e 75 6d 62 65 |e]curPos| = Numbe|
|00002630| 72 28 5b 74 61 72 67 65 | 74 5d 2e 47 65 74 41 62 |r([targe|t].GetAb|
|00002640| 73 50 6f 73 28 29 29 0d | 0a 0d 0a 5b 54 61 62 6c |sPos()).|...[Tabl|
|00002650| 65 5d 70 61 67 65 53 69 | 7a 65 20 3d 20 4e 75 6d |e]pageSi|ze = Num|
|00002660| 62 65 72 28 5b 50 61 67 | 65 53 69 7a 65 5d 29 0d |ber([Pag|eSize]).|
|00002670| 0a 5b 54 61 62 6c 65 5d | 72 65 63 43 6f 75 6e 74 |.[Table]|recCount|
|00002680| 20 3d 20 5b 74 61 72 67 | 65 74 5d 2e 52 53 2e 52 | = [targ|et].RS.R|
|00002690| 65 63 6f 72 64 43 6f 75 | 6e 74 0d 0a 0d 0a 69 66 |ecordCou|nt....if|
|000026a0| 20 28 5b 54 61 62 6c 65 | 5d 5f 41 63 74 69 6f 6e | ([Table|]_Action|
|000026b0| 20 3d 3d 20 22 42 61 63 | 6b 77 61 72 64 22 29 0d | == "Bac|kward").|
|000026c0| 0a 7b 0d 0a 20 69 66 20 | 28 69 73 4e 61 4e 28 5b |.{.. if |(isNaN([|
|000026d0| 54 61 62 6c 65 5d 63 75 | 72 50 6f 73 29 29 0d 0a |Table]cu|rPos))..|
|000026e0| 09 7b 0d 0a 09 09 5b 54 | 61 62 6c 65 5d 63 75 72 |.{....[T|able]cur|
|000026f0| 50 6f 73 20 3d 20 5b 54 | 61 62 6c 65 5d 72 65 63 |Pos = [T|able]rec|
|00002700| 43 6f 75 6e 74 20 2d 20 | 5b 54 61 62 6c 65 5d 70 |Count - |[Table]p|
|00002710| 61 67 65 53 69 7a 65 20 | 2d 20 5b 54 61 62 6c 65 |ageSize |- [Table|
|00002720| 5d 53 74 61 74 65 20 2b | 20 31 0d 0a 09 09 69 66 |]State +| 1....if|
|00002730| 20 28 5b 54 61 62 6c 65 | 5d 63 75 72 50 6f 73 20 | ([Table|]curPos |
|00002740| 3c 3d 20 30 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 5b |<= 0)...|.{.....[|
|00002750| 54 61 62 6c 65 5d 63 75 | 72 50 6f 73 20 3d 20 31 |Table]cu|rPos = 1|
|00002760| 0d 0a 09 09 7d 0d 0a 09 | 7d 0d 0a 09 65 6c 73 65 |....}...|}...else|
|00002770| 0d 0a 20 7b 0d 0a 20 20 | 5b 54 61 62 6c 65 5d 63 |.. {.. |[Table]c|
|00002780| 75 72 50 6f 73 20 2d 3d | 20 5b 54 61 62 6c 65 5d |urPos -=| [Table]|
|00002790| 70 61 67 65 53 69 7a 65 | 2a 32 0d 0a 09 20 69 66 |pageSize|*2... if|
|000027a0| 20 28 5b 54 61 62 6c 65 | 5d 63 75 72 50 6f 73 20 | ([Table|]curPos |
|000027b0| 3c 3d 20 30 29 0d 0a 09 | 20 7b 0d 0a 09 09 20 5b |<= 0)...| {.... [|
|000027c0| 54 61 62 6c 65 5d 63 75 | 72 50 6f 73 20 3d 20 31 |Table]cu|rPos = 1|
|000027d0| 0d 0a 09 20 7d 0d 0a 20 | 7d 0d 0a 7d 0d 0a 65 6c |... }.. |}..}..el|
|000027e0| 73 65 20 69 66 20 28 5b | 54 61 62 6c 65 5d 5f 41 |se if ([|Table]_A|
|000027f0| 63 74 69 6f 6e 20 3d 3d | 20 22 46 6f 72 77 61 72 |ction ==| "Forwar|
|00002800| 64 22 29 0d 0a 7b 09 0d | 0a 20 69 66 20 28 53 74 |d")..{..|. if (St|
|00002810| 72 69 6e 67 28 5b 54 61 | 62 6c 65 5d 63 75 72 50 |ring([Ta|ble]curP|
|00002820| 6f 73 29 20 3d 3d 20 22 | 4e 61 4e 22 20 7c 7c 20 |os) == "|NaN" || |
|00002830| 28 5b 54 61 62 6c 65 5d | 63 75 72 50 6f 73 20 3e |([Table]|curPos >|
|00002840| 20 5b 54 61 62 6c 65 5d | 72 65 63 43 6f 75 6e 74 | [Table]|recCount|
|00002850| 29 29 0d 0a 09 7b 0d 0a | 09 09 5b 54 61 62 6c 65 |))...{..|..[Table|
|00002860| 5d 63 75 72 50 6f 73 20 | 3d 20 5b 54 61 62 6c 65 |]curPos |= [Table|
|00002870| 5d 72 65 63 43 6f 75 6e | 74 20 2d 20 5b 54 61 62 |]recCoun|t - [Tab|
|00002880| 6c 65 5d 53 74 61 74 65 | 20 2b 20 31 0d 0a 09 09 |le]State| + 1....|
|00002890| 69 66 20 28 5b 54 61 62 | 6c 65 5d 63 75 72 50 6f |if ([Tab|le]curPo|
|000028a0| 73 20 3c 3d 20 30 29 0d | 0a 09 09 7b 0d 0a 09 09 |s <= 0).|...{....|
|000028b0| 09 5b 54 61 62 6c 65 5d | 63 75 72 50 6f 73 20 3d |.[Table]|curPos =|
|000028c0| 20 31 0d 0a 09 09 7d 0d | 0a 09 7d 0d 0a 7d 0d 0a | 1....}.|..}..}..|
|000028d0| 5b 54 61 62 6c 65 5d 65 | 6e 64 52 65 63 20 3d 20 |[Table]e|ndRec = |
|000028e0| 5b 54 61 62 6c 65 5d 63 | 75 72 50 6f 73 20 2b 20 |[Table]c|urPos + |
|000028f0| 5b 54 61 62 6c 65 5d 70 | 61 67 65 53 69 7a 65 20 |[Table]p|ageSize |
|00002900| 2d 20 31 0d 0a 69 66 20 | 28 5b 54 61 62 6c 65 5d |- 1..if |([Table]|
|00002910| 65 6e 64 52 65 63 20 3e | 20 5b 54 61 62 6c 65 5d |endRec >| [Table]|
|00002920| 72 65 63 43 6f 75 6e 74 | 29 0d 0a 7b 0d 0a 20 20 |recCount|)..{.. |
|00002930| 20 20 5b 54 61 62 6c 65 | 5d 65 6e 64 52 65 63 20 | [Table|]endRec |
|00002940| 3d 20 5b 54 61 62 6c 65 | 5d 72 65 63 43 6f 75 6e |= [Table|]recCoun|
|00002950| 74 0d 0a 7d 01 00 00 00 | ff 22 05 27 20 54 68 65 |t..}....|.".' The|
|00002960| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 63 6f 64 65 20 | followi|ng code |
|00002970| 63 61 6c 63 75 6c 61 74 | 65 73 20 74 68 65 20 74 |calculat|es the t|
|00002980| 6f 70 20 61 6e 64 20 62 | 6f 74 74 6f 6d 20 0d 0a |op and b|ottom ..|
|00002990| 27 20 72 65 63 6f 72 64 | 73 20 64 69 73 70 6c 61 |' record|s displa|
|000029a0| 79 65 64 20 69 6e 20 74 | 68 65 20 74 61 62 6c 65 |yed in t|he table|
|000029b0| 20 73 6f 20 69 74 20 63 | 61 6e 0d 0a 27 20 62 65 | so it c|an..' be|
|000029c0| 20 75 73 65 64 20 74 6f | 20 74 65 73 74 20 77 68 | used to| test wh|
|000029d0| 65 74 68 65 72 20 74 68 | 65 20 73 6f 75 72 63 65 |ether th|e source|
|000029e0| 20 62 75 74 74 6f 6e 20 | 6f 72 0d 0a 27 20 69 6d | button |or..' im|
|000029f0| 61 67 65 20 73 68 6f 75 | 6c 64 20 62 65 20 64 69 |age shou|ld be di|
|00002a00| 73 70 6c 61 79 65 64 2e | 0d 0a 0d 0a 5b 54 61 62 |splayed.|....[Tab|
|00002a10| 6c 65 5d 53 74 61 74 65 | 20 3d 20 43 4c 6e 67 28 |le]State| = CLng(|
|00002a20| 52 65 71 75 65 73 74 28 | 22 5b 54 61 62 6c 65 5d |Request(|"[Table]|
|00002a30| 5f 53 74 61 74 65 22 29 | 29 0d 0a 5b 54 61 62 6c |_State")|)..[Tabl|
|00002a40| 65 5d 70 61 67 65 53 69 | 7a 65 20 3d 20 43 4c 6e |e]pageSi|ze = CLn|
|00002a50| 67 28 5b 50 61 67 65 53 | 69 7a 65 5d 29 0d 0a 5b |g([PageS|ize])..[|
|00002a60| 54 61 62 6c 65 5d 72 65 | 63 43 6f 75 6e 74 20 3d |Table]re|cCount =|
|00002a70| 20 43 4c 6e 67 28 5b 74 | 61 72 67 65 74 5d 2e 52 | CLng([t|arget].R|
|00002a80| 53 2e 52 65 63 6f 72 64 | 43 6f 75 6e 74 29 0d 0a |S.Record|Count)..|
|00002a90| 0d 0a 69 66 20 5b 74 61 | 72 67 65 74 5d 2e 47 65 |..if [ta|rget].Ge|
|00002aa0| 74 41 62 73 50 6f 73 28 | 29 20 3d 20 22 45 4f 46 |tAbsPos(|) = "EOF|
|00002ab0| 22 20 4f 72 20 5b 74 61 | 72 67 65 74 5d 2e 47 65 |" Or [ta|rget].Ge|
|00002ac0| 74 41 62 73 50 6f 73 28 | 29 20 3d 20 22 4d 54 59 |tAbsPos(|) = "MTY|
|00002ad0| 22 20 74 68 65 6e 0d 0a | 20 20 20 20 5b 54 61 62 |" then..| [Tab|
|00002ae0| 6c 65 5d 5b 73 6f 75 72 | 63 65 5d 63 75 72 50 6f |le][sour|ce]curPo|
|00002af0| 73 20 3d 20 28 5b 74 61 | 72 67 65 74 5d 2e 47 65 |s = ([ta|rget].Ge|
|00002b00| 74 41 62 73 50 6f 73 28 | 29 29 0d 0a 65 6c 73 65 |tAbsPos(|))..else|
|00002b10| 0d 0a 20 20 20 20 5b 54 | 61 62 6c 65 5d 5b 73 6f |.. [T|able][so|
|00002b20| 75 72 63 65 5d 63 75 72 | 50 6f 73 20 3d 20 43 4c |urce]cur|Pos = CL|
|00002b30| 6e 67 28 28 5b 74 61 72 | 67 65 74 5d 2e 47 65 74 |ng(([tar|get].Get|
|00002b40| 41 62 73 50 6f 73 28 29 | 29 29 0d 0a 65 6e 64 20 |AbsPos()|))..end |
|00002b50| 69 66 0d 0a 0d 0a 69 66 | 20 28 5b 54 61 62 6c 65 |if....if| ([Table|
|00002b60| 5d 5f 41 63 74 69 6f 6e | 20 3d 20 22 42 61 63 6b |]_Action| = "Back|
|00002b70| 77 61 72 64 22 29 20 74 | 68 65 6e 0d 0a 20 20 20 |ward") t|hen.. |
|00002b80| 20 69 66 20 4e 6f 74 20 | 49 73 4e 75 6d 65 72 69 | if Not |IsNumeri|
|00002b90| 63 28 5b 54 61 62 6c 65 | 5d 5b 73 6f 75 72 63 65 |c([Table|][source|
|00002ba0| 5d 63 75 72 50 6f 73 29 | 20 74 68 65 6e 0d 0a 09 |]curPos)| then...|
|00002bb0| 20 20 20 20 20 20 20 5b | 54 61 62 6c 65 5d 5b 73 | [|Table][s|
|00002bc0| 6f 75 72 63 65 5d 63 75 | 72 50 6f 73 20 3d 20 5b |ource]cu|rPos = [|
|00002bd0| 54 61 62 6c 65 5d 72 65 | 63 43 6f 75 6e 74 20 2d |Table]re|cCount -|
|00002be0| 20 5b 54 61 62 6c 65 5d | 70 61 67 65 53 69 7a 65 | [Table]|pageSize|
|00002bf0| 20 2d 20 5b 54 61 62 6c | 65 5d 53 74 61 74 65 20 | - [Tabl|e]State |
|00002c00| 2b 20 31 0d 0a 09 09 20 | 20 20 20 20 20 69 66 20 |+ 1.... | if |
|00002c10| 28 5b 54 61 62 6c 65 5d | 5b 73 6f 75 72 63 65 5d |([Table]|[source]|
|00002c20| 63 75 72 50 6f 73 20 3c | 3d 20 30 29 20 74 68 65 |curPos <|= 0) the|
|00002c30| 6e 0d 0a 09 09 09 20 20 | 20 20 20 20 20 20 20 5b |n..... | [|
|00002c40| 54 61 62 6c 65 5d 5b 73 | 6f 75 72 63 65 5d 63 75 |Table][s|ource]cu|
|00002c50| 72 50 6f 73 20 3d 20 31 | 0d 0a 09 09 20 20 20 20 |rPos = 1|.... |
|00002c60| 20 20 65 6e 64 20 69 66 | 0d 0a 09 20 20 20 65 6c | end if|... el|
|00002c70| 73 65 0d 0a 20 20 20 20 | 20 20 20 20 5b 54 61 62 |se.. | [Tab|
|00002c80| 6c 65 5d 5b 73 6f 75 72 | 63 65 5d 63 75 72 50 6f |le][sour|ce]curPo|
|00002c90| 73 20 3d 20 43 4c 6e 67 | 28 5b 54 61 62 6c 65 5d |s = CLng|([Table]|
|00002ca0| 5b 73 6f 75 72 63 65 5d | 63 75 72 50 6f 73 29 20 |[source]|curPos) |
|00002cb0| 2d 20 5b 54 61 62 6c 65 | 5d 70 61 67 65 53 69 7a |- [Table|]pageSiz|
|00002cc0| 65 2a 32 0d 0a 09 20 20 | 20 20 20 20 20 69 66 20 |e*2... | if |
|00002cd0| 28 5b 54 61 62 6c 65 5d | 5b 73 6f 75 72 63 65 5d |([Table]|[source]|
|00002ce0| 63 75 72 50 6f 73 20 3c | 3d 20 30 29 20 74 68 65 |curPos <|= 0) the|
|00002cf0| 6e 0d 0a 09 20 20 20 20 | 20 20 20 20 20 20 20 5b |n... | [|
|00002d00| 54 61 62 6c 65 5d 5b 73 | 6f 75 72 63 65 5d 63 75 |Table][s|ource]cu|
|00002d10| 72 50 6f 73 20 3d 20 31 | 0d 0a 09 20 20 20 20 20 |rPos = 1|... |
|00002d20| 20 20 65 6e 64 20 69 66 | 0d 0a 20 20 20 20 65 6e | end if|.. en|
|00002d30| 64 20 69 66 0d 0a 65 6c | 73 65 69 66 20 28 5b 54 |d if..el|seif ([T|
|00002d40| 61 62 6c 65 5d 5f 41 63 | 74 69 6f 6e 20 3d 20 22 |able]_Ac|tion = "|
|00002d50| 46 6f 72 77 61 72 64 22 | 29 20 74 68 65 6e 0d 0a |Forward"|) then..|
|00002d60| 20 20 20 20 69 66 20 28 | 4e 6f 74 20 49 73 4e 75 | if (|Not IsNu|
|00002d70| 6d 65 72 69 63 28 5b 54 | 61 62 6c 65 5d 5b 73 6f |meric([T|able][so|
|00002d80| 75 72 63 65 5d 63 75 72 | 50 6f 73 29 20 20 4f 72 |urce]cur|Pos) Or|
|00002d90| 20 28 5b 54 61 62 6c 65 | 5d 5b 73 6f 75 72 63 65 | ([Table|][source|
|00002da0| 5d 63 75 72 50 6f 73 20 | 3e 20 5b 54 61 62 6c 65 |]curPos |> [Table|
|00002db0| 5d 72 65 63 43 6f 75 6e | 74 29 29 20 74 68 65 6e |]recCoun|t)) then|
|00002dc0| 0d 0a 20 20 20 20 20 20 | 20 20 5b 54 61 62 6c 65 |.. | [Table|
|00002dd0| 5d 5b 73 6f 75 72 63 65 | 5d 63 75 72 50 6f 73 20 |][source|]curPos |
|00002de0| 3d 20 5b 54 61 62 6c 65 | 5d 72 65 63 43 6f 75 6e |= [Table|]recCoun|
|00002df0| 74 20 2d 20 5b 54 61 62 | 6c 65 5d 53 74 61 74 65 |t - [Tab|le]State|
|00002e00| 20 2b 20 31 0d 0a 09 09 | 20 20 20 20 20 20 69 66 | + 1....| if|
|00002e10| 20 28 5b 54 61 62 6c 65 | 5d 5b 73 6f 75 72 63 65 | ([Table|][source|
|00002e20| 5d 63 75 72 50 6f 73 20 | 3c 3d 20 30 29 20 74 68 |]curPos |<= 0) th|
|00002e30| 65 6e 0d 0a 09 09 20 20 | 20 20 20 20 20 20 20 20 |en.... | |
|00002e40| 5b 54 61 62 6c 65 5d 5b | 73 6f 75 72 63 65 5d 63 |[Table][|source]c|
|00002e50| 75 72 50 6f 73 20 3d 20 | 31 0d 0a 20 20 20 20 20 |urPos = |1.. |
|00002e60| 20 20 20 65 6e 64 20 69 | 66 0d 0a 20 20 20 20 65 | end i|f.. e|
|00002e70| 6e 64 20 69 66 0d 0a 65 | 6e 64 20 69 66 03 80 01 |nd if..e|nd if...|
|00002e80| 00 00 00 05 54 61 62 6c | 65 01 00 05 80 03 00 00 |....Tabl|e.......|
|00002e90| 00 01 00 00 00 0a 6e 65 | 78 74 50 61 67 65 28 29 |......ne|xtPage()|
|00002ea0| 00 00 01 00 0b 80 05 00 | 00 00 08 50 61 67 65 53 |........|...PageS|
|00002eb0| 69 7a 65 02 00 00 00 03 | 00 0a 00 00 00 00 00 00 |ize.....|........|
|00002ec0| 00 00 00 00 00 00 00 00 | 16 44 61 74 61 62 61 73 |........|.Databas|
|00002ed0| 65 20 4d 69 73 63 65 6c | 6c 61 6e 65 6f 75 73 00 |e Miscel|laneous.|
|00002ee0| 00 00 00 00 00 04 00 00 | 00 01 00 00 00 02 00 09 |........|........|
|00002ef0| 80 04 00 00 00 06 53 65 | 72 76 65 72 01 00 00 00 |......Se|rver....|
|00002f00| 01 00 00 00 19 44 69 6d | 20 5b 54 61 62 6c 65 5d |.....Dim| [Table]|
|00002f10| 5b 73 6f 75 72 63 65 5d | 63 75 72 50 6f 73 09 80 |[source]|curPos..|
|00002f20| 04 00 00 00 06 49 6e 6c | 69 6e 65 01 00 00 00 01 |.....Inl|ine.....|
|00002f30| 00 00 00 00 38 39 57 fc | c1 8e d2 11 85 ea 00 60 |....89W.|.......`|
|00002f40| 08 ce 58 2b 01 00 00 00 | 24 33 37 37 41 43 34 33 |..X+....|$377AC43|
|00002f50| 30 2d 36 32 31 31 2d 31 | 31 44 32 2d 38 31 31 37 |0-6211-1|1D2-8117|
|00002f60| 2d 30 30 36 30 30 38 43 | 38 36 43 32 35 03 33 2e |-006008C|86C25.3.|
|00002f70| 30 ff 62 02 44 65 73 63 | 72 69 70 74 69 6f 6e 3a |0.b.Desc|ription:|
|00002f80| 0d 0a 54 68 69 73 20 63 | 6f 6e 74 72 61 63 74 20 |..This c|ontract |
|00002f90| 69 73 20 74 68 72 65 65 | 2d 77 61 79 20 69 6e 74 |is three|-way int|
|00002fa0| 65 72 61 63 74 69 6f 6e | 20 64 65 73 69 67 6e 65 |eraction| designe|
|00002fb0| 64 20 66 6f 72 20 72 65 | 73 75 6c 74 73 20 70 61 |d for re|sults pa|
|00002fc0| 67 65 20 74 68 61 74 20 | 75 73 65 73 20 61 6e 20 |ge that |uses an |
|00002fd0| 41 75 74 6f 54 61 62 6c | 65 2e 20 20 49 74 20 77 |AutoTabl|e. It w|
|00002fe0| 69 6c 6c 20 6e 6f 74 20 | 63 72 65 61 74 65 20 74 |ill not |create t|
|00002ff0| 68 65 20 6f 62 6a 65 63 | 74 20 28 75 73 75 61 6c |he objec|t (usual|
|00003000| 6c 79 20 74 68 65 20 22 | 6e 65 78 74 22 20 62 75 |ly the "|next" bu|
|00003010| 74 74 6f 6e 29 20 69 66 | 20 79 6f 75 20 61 72 65 |tton) if| you are|
|00003020| 20 61 6c 72 65 61 64 79 | 20 6f 6e 20 74 68 65 20 | already| on the |
|00003030| 6c 61 73 74 20 70 61 67 | 65 20 6f 66 20 72 65 63 |last pag|e of rec|
|00003040| 6f 72 64 73 2e 0d 0a 0d | 0a 50 61 72 61 6d 65 74 |ords....|.Paramet|
|00003050| 65 72 73 3a 0d 0a 50 61 | 67 65 53 69 7a 65 3a 20 |ers:..Pa|geSize: |
|00003060| 54 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 72 65 |The numb|er of re|
|00003070| 63 6f 72 64 73 20 69 6e | 20 61 20 70 61 67 65 2e |cords in| a page.|
|00003080| 20 20 54 68 69 73 20 73 | 68 6f 75 6c 64 20 62 65 | This s|hould be|
|00003090| 20 73 65 74 20 74 6f 20 | 74 68 65 20 41 75 74 6f | set to |the Auto|
|000030a0| 54 61 62 6c 65 27 73 20 | 70 61 67 65 20 73 69 7a |Table's |page siz|
|000030b0| 65 20 61 74 74 72 69 62 | 75 74 65 2e 0d 0a 0d 0a |e attrib|ute.....|
|000030c0| 54 79 70 69 63 61 6c 20 | 50 61 72 74 69 63 69 70 |Typical |Particip|
|000030d0| 61 6e 74 73 3a 0d 0a 5b | 53 6f 75 72 63 65 5d 20 |ants:..[|Source] |
|000030e0| 2d 20 62 75 74 74 6f 6e | 2c 20 69 6d 61 67 65 2c |- button|, image,|
|000030f0| 20 65 74 63 2e 0d 0a 5b | 54 61 62 6c 65 5d 20 2d | etc...[|Table] -|
|00003100| 20 41 75 74 6f 54 61 62 | 6c 65 0d 0a 5b 54 61 72 | AutoTab|le..[Tar|
|00003110| 67 65 74 5d 20 2d 20 52 | 65 63 6f 72 64 73 65 74 |get] - R|ecordset|
|00003120| 0d 0a 0d 0a 46 6f 72 20 | 6d 6f 72 65 20 69 6e 66 |....For |more inf|
|00003130| 6f 72 6d 61 74 69 6f 6e | 20 6f 6e 20 63 6f 6e 74 |ormation| on cont|
|00003140| 72 61 63 74 73 20 6f 66 | 20 74 68 69 73 20 63 61 |racts of| this ca|
|00003150| 74 65 67 6f 72 79 2c 20 | 70 6c 65 61 73 65 20 72 |tegory, |please r|
|00003160| 65 66 65 72 20 74 6f 0d | 0a 44 61 74 61 62 61 73 |efer to.|.Databas|
|00003170| 65 4d 69 73 63 65 6c 6c | 61 6e 65 6f 75 73 2e 64 |eMiscell|aneous.d|
|00003180| 6f 63 0d 0a 54 68 69 73 | 20 66 69 6c 65 20 69 73 |oc..This| file is|
|00003190| 20 61 76 61 69 6c 61 62 | 6c 65 20 69 6e 20 74 68 | availab|le in th|
|000031a0| 65 20 43 6f 6e 74 72 61 | 63 74 73 20 66 6f 6c 64 |e Contra|cts fold|
|000031b0| 65 72 20 69 6e 20 74 68 | 65 20 44 72 75 6d 62 65 |er in th|e Drumbe|
|000031c0| 61 74 20 64 69 72 65 63 | 74 6f 72 79 2e 0d 0a 56 |at direc|tory...V|
|000031d0| 31 30 5f 33 30 2e 01 80 | 12 00 00 00 47 44 6f 20 |10_30...|....GDo |
|000031e0| 6e 6f 74 20 63 72 65 61 | 74 65 20 5b 73 6f 75 72 |not crea|te [sour|
|000031f0| 63 65 5d 20 69 66 20 5b | 74 61 72 67 65 74 5d 20 |ce] if [|target] |
|00003200| 69 73 20 6f 6e 20 66 69 | 72 73 74 20 73 65 74 20 |is on fi|rst set |
|00003210| 6f 66 20 72 65 63 6f 72 | 64 73 20 69 6e 20 4c 6f |of recor|ds in Lo|
|00003220| 6f 70 65 72 00 00 00 00 | 00 02 00 03 80 01 00 00 |oper....|........|
|00003230| 00 06 73 6f 75 72 63 65 | 01 00 05 80 03 00 00 00 |..source|........|
|00003240| 00 00 00 00 0c 53 65 72 | 76 65 72 28 68 74 6d 6c |.....Ser|ver(html|
|00003250| 29 01 00 09 80 04 00 00 | 00 0c 53 65 72 76 65 72 |).......|..Server|
|00003260| 28 68 74 6d 6c 29 02 00 | 00 00 00 00 00 00 ff b0 |(html)..|........|
|00003270| 01 2f 2f 20 44 4f 20 4e | 4f 54 20 43 52 45 41 54 |.// DO N|OT CREAT|
|00003280| 45 20 54 48 45 20 42 55 | 54 54 4f 4e 20 49 46 20 |E THE BU|TTON IF |
|00003290| 4f 4e 20 46 49 52 53 54 | 20 53 45 54 20 4f 46 20 |ON FIRST| SET OF |
|000032a0| 52 45 43 4f 52 44 53 20 | 49 4e 20 4c 4f 4f 50 45 |RECORDS |IN LOOPE|
|000032b0| 52 0d 0a 0d 0a 70 6f 73 | 69 74 69 6f 6e 20 3d 20 |R....pos|ition = |
|000032c0| 5b 74 61 72 67 65 74 5d | 2e 47 65 74 41 62 73 50 |[target]|.GetAbsP|
|000032d0| 6f 73 28 29 0d 0a 50 61 | 67 65 53 69 7a 65 20 3d |os()..Pa|geSize =|
|000032e0| 20 4e 75 6d 62 65 72 28 | 5b 50 61 67 65 53 69 7a | Number(|[PageSiz|
|000032f0| 65 5d 29 0d 0a 72 65 63 | 43 6f 75 6e 74 20 3d 20 |e])..rec|Count = |
|00003300| 4e 75 6d 62 65 72 28 5b | 74 61 72 67 65 74 5d 2e |Number([|target].|
|00003310| 52 53 2e 52 65 63 6f 72 | 64 43 6f 75 6e 74 29 0d |RS.Recor|dCount).|
|00003320| 0a 42 75 74 74 6f 6e 50 | 6f 73 20 3d 20 5b 42 75 |.ButtonP|os = [Bu|
|00003330| 74 74 6f 6e 50 6f 73 69 | 74 69 6f 6e 5d 0d 0a 0d |ttonPosi|tion]...|
|00003340| 0a 69 66 20 28 42 75 74 | 74 6f 6e 50 6f 73 20 3d |.if (But|tonPos =|
|00003350| 3d 20 22 41 62 6f 76 65 | 20 4c 6f 6f 70 65 72 22 |= "Above| Looper"|
|00003360| 20 26 26 20 28 70 6f 73 | 69 74 69 6f 6e 20 3d 3d | && (pos|ition ==|
|00003370| 20 31 20 7c 7c 20 50 61 | 67 65 53 69 7a 65 20 3e | 1 || Pa|geSize >|
|00003380| 3d 20 72 65 63 43 6f 75 | 6e 74 29 29 0d 0a 20 20 |= recCou|nt)).. |
|00003390| 20 20 68 74 6d 6c 20 3d | 20 27 27 0d 0a 65 6c 73 | html =| ''..els|
|000033a0| 65 20 69 66 20 28 42 75 | 74 74 6f 6e 50 6f 73 20 |e if (Bu|ttonPos |
|000033b0| 3d 3d 20 22 42 65 6c 6f | 77 20 4c 6f 6f 70 65 72 |== "Belo|w Looper|
|000033c0| 22 20 26 26 20 28 70 6f | 73 69 74 69 6f 6e 20 3c |" && (po|sition <|
|000033d0| 3d 20 50 61 67 65 53 69 | 7a 65 20 2b 20 31 20 7c |= PageSi|ze + 1 ||
|000033e0| 7c 20 50 61 67 65 53 69 | 7a 65 20 3e 3d 20 72 65 || PageSi|ze >= re|
|000033f0| 63 43 6f 75 6e 74 29 29 | 0d 0a 20 20 20 20 68 74 |cCount))|.. ht|
|00003400| 6d 6c 20 3d 20 27 27 0d | 0a 20 20 0d 0a 52 65 73 |ml = ''.|. ..Res|
|00003410| 70 6f 6e 73 65 2e 57 72 | 69 74 65 28 68 74 6d 6c |ponse.Wr|ite(html|
|00003420| 29 01 00 00 00 ff d1 02 | 27 20 44 4f 20 4e 4f 54 |).......|' DO NOT|
|00003430| 20 43 52 45 41 54 45 20 | 54 48 45 20 42 55 54 54 | CREATE |THE BUTT|
|00003440| 4f 4e 20 49 46 20 4f 4e | 20 46 49 52 53 54 20 53 |ON IF ON| FIRST S|
|00003450| 45 54 20 4f 46 20 52 45 | 43 4f 52 44 53 20 49 4e |ET OF RE|CORDS IN|
|00003460| 20 4c 4f 4f 50 45 52 0d | 0a 0d 0a 72 65 63 43 6f | LOOPER.|...recCo|
|00003470| 75 6e 74 20 3d 20 43 49 | 6e 74 28 5b 74 61 72 67 |unt = CI|nt([targ|
|00003480| 65 74 5d 2e 52 53 2e 52 | 65 63 6f 72 64 43 6f 75 |et].RS.R|ecordCou|
|00003490| 6e 74 29 0d 0a 50 61 67 | 65 53 69 7a 65 20 3d 20 |nt)..Pag|eSize = |
|000034a0| 43 49 6e 74 28 5b 50 61 | 67 65 53 69 7a 65 5d 29 |CInt([Pa|geSize])|
|000034b0| 0d 0a 42 75 74 74 6f 6e | 50 6f 73 20 3d 20 5b 42 |..Button|Pos = [B|
|000034c0| 75 74 74 6f 6e 50 6f 73 | 69 74 69 6f 6e 5d 0d 0a |uttonPos|ition]..|
|000034d0| 0d 0a 27 20 4c 6f 67 69 | 63 20 74 6f 20 64 65 74 |..' Logi|c to det|
|000034e0| 65 72 6d 69 6e 65 20 77 | 68 65 74 68 65 72 20 77 |ermine w|hether w|
|000034f0| 65 20 63 61 6e 20 63 61 | 73 74 20 74 68 65 20 70 |e can ca|st the p|
|00003500| 6f 73 69 74 69 6f 6e 20 | 74 6f 20 61 6e 20 69 6e |osition |to an in|
|00003510| 74 65 67 65 72 0d 0a 69 | 66 20 5b 74 61 72 67 65 |teger..i|f [targe|
|00003520| 74 5d 2e 47 65 74 41 62 | 73 50 6f 73 28 29 20 3d |t].GetAb|sPos() =|
|00003530| 20 22 45 4f 46 22 20 74 | 68 65 6e 0d 0a 20 20 20 | "EOF" t|hen.. |
|00003540| 20 70 6f 73 69 74 69 6f | 6e 20 3d 20 5b 74 61 72 | positio|n = [tar|
|00003550| 67 65 74 5d 2e 47 65 74 | 41 62 73 50 6f 73 28 29 |get].Get|AbsPos()|
|00003560| 0d 0a 65 6c 73 65 69 66 | 20 5b 74 61 72 67 65 74 |..elseif| [target|
|00003570| 5d 2e 47 65 74 41 62 73 | 50 6f 73 28 29 20 3d 20 |].GetAbs|Pos() = |
|00003580| 22 4d 54 59 22 20 74 68 | 65 6e 0d 0a 20 20 20 20 |"MTY" th|en.. |
|00003590| 70 6f 73 69 74 69 6f 6e | 20 3d 20 31 0d 0a 65 6c |position| = 1..el|
|000035a0| 73 65 0d 0a 20 20 20 20 | 70 6f 73 69 74 69 6f 6e |se.. |position|
|000035b0| 20 3d 20 43 49 6e 74 28 | 5b 74 61 72 67 65 74 5d | = CInt(|[target]|
|000035c0| 2e 47 65 74 41 62 73 50 | 6f 73 28 29 29 0d 0a 65 |.GetAbsP|os())..e|
|000035d0| 6e 64 20 69 66 0d 0a 0d | 0a 69 66 20 28 42 75 74 |nd if...|.if (But|
|000035e0| 74 6f 6e 50 6f 73 20 3d | 20 22 41 62 6f 76 65 20 |tonPos =| "Above |
|000035f0| 4c 6f 6f 70 65 72 22 29 | 20 74 68 65 6e 0d 0a 20 |Looper")| then.. |
|00003600| 20 20 20 69 66 20 28 70 | 6f 73 69 74 69 6f 6e 20 | if (p|osition |
|00003610| 3d 20 31 20 4f 52 20 50 | 61 67 65 53 69 7a 65 20 |= 1 OR P|ageSize |
|00003620| 3e 3d 20 72 65 63 43 6f | 75 6e 74 29 20 74 68 65 |>= recCo|unt) the|
|00003630| 6e 0d 0a 20 20 20 20 20 | 20 20 20 68 74 6d 6c 20 |n.. | html |
|00003640| 3d 20 22 22 0d 0a 20 20 | 20 20 65 6e 64 20 69 66 |= "".. | end if|
|00003650| 0d 0a 65 6c 73 65 69 66 | 20 28 42 75 74 74 6f 6e |..elseif| (Button|
|00003660| 50 6f 73 20 3d 20 22 42 | 65 6c 6f 77 20 4c 6f 6f |Pos = "B|elow Loo|
|00003670| 70 65 72 22 29 20 74 68 | 65 6e 0d 0a 20 20 20 20 |per") th|en.. |
|00003680| 69 66 20 28 70 6f 73 69 | 74 69 6f 6e 20 3c 3d 20 |if (posi|tion <= |
|00003690| 50 61 67 65 53 69 7a 65 | 20 2b 20 31 20 4f 52 20 |PageSize| + 1 OR |
|000036a0| 50 61 67 65 53 69 7a 65 | 20 3e 3d 20 72 65 63 43 |PageSize| >= recC|
|000036b0| 6f 75 6e 74 29 20 74 68 | 65 6e 0d 0a 20 20 20 20 |ount) th|en.. |
|000036c0| 20 20 20 20 68 74 6d 6c | 20 3d 20 22 22 0d 0a 20 | html| = "".. |
|000036d0| 20 20 20 65 6e 64 20 69 | 66 0d 0a 65 6e 64 20 69 | end i|f..end i|
|000036e0| 66 0d 0a 0d 0a 52 65 73 | 70 6f 6e 73 65 2e 57 72 |f....Res|ponse.Wr|
|000036f0| 69 74 65 28 68 74 6d 6c | 29 03 80 01 00 00 00 06 |ite(html|).......|
|00003700| 74 61 72 67 65 74 01 00 | 05 80 03 00 00 00 01 00 |target..|........|
|00003710| 00 00 14 47 65 74 43 6f | 6c 75 6d 6e 56 61 6c 75 |...GetCo|lumnValu|
|00003720| 65 28 6e 61 6d 65 29 00 | 00 02 00 0b 80 05 00 00 |e(name).|........|
|00003730| 00 08 50 61 67 65 53 69 | 7a 65 02 00 00 00 03 00 |..PageSi|ze......|
|00003740| 05 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 0b |........|........|
|00003750| 80 05 00 00 00 0e 42 75 | 74 74 6f 6e 50 6f 73 69 |......Bu|ttonPosi|
|00003760| 74 69 6f 6e 04 00 00 00 | 08 00 18 00 00 00 41 00 |tion....|......A.|
|00003770| 62 00 6f 00 76 00 65 00 | 20 00 4c 00 6f 00 6f 00 |b.o.v.e.| .L.o.o.|
|00003780| 70 00 65 00 72 00 02 00 | 0c 41 62 6f 76 65 20 4c |p.e.r...|.Above L|
|00003790| 6f 6f 70 65 72 0c 42 65 | 6c 6f 77 20 4c 6f 6f 70 |ooper.Be|low Loop|
|000037a0| 65 72 00 00 00 00 00 00 | 00 00 00 16 44 61 74 61 |er......|....Data|
|000037b0| 62 61 73 65 20 4d 69 73 | 63 65 6c 6c 61 6e 65 6f |base Mis|cellaneo|
|000037c0| 75 73 00 00 00 00 00 00 | 04 00 00 00 01 00 00 00 |us......|........|
|000037d0| 00 00 d6 20 ee 9e 3d 9f | d2 11 86 05 00 60 08 ce |... ..=.|.....`..|
|000037e0| 58 2b 01 00 00 00 24 33 | 37 37 41 43 34 33 30 2d |X+....$3|77AC430-|
|000037f0| 36 32 31 31 2d 31 31 44 | 32 2d 38 31 31 37 2d 30 |6211-11D|2-8117-0|
|00003800| 30 36 30 30 38 43 38 36 | 43 32 35 03 33 2e 30 ff |06008C86|C25.3.0.|
|00003810| c1 02 44 65 73 63 72 69 | 70 74 69 6f 6e 3a 0d 0a |..Descri|ption:..|
|00003820| 54 68 69 73 20 63 6f 6e | 74 72 61 63 74 20 69 73 |This con|tract is|
|00003830| 20 64 65 73 69 67 6e 65 | 64 20 64 65 74 61 69 6c | designe|d detail|
|00003840| 20 70 61 67 65 20 63 6f | 6e 74 61 69 6e 69 6e 67 | page co|ntaining|
|00003850| 20 6d 75 6c 74 69 70 6c | 65 20 72 65 63 6f 72 64 | multipl|e record|
|00003860| 73 20 67 72 6f 75 70 65 | 64 20 62 79 20 61 20 6c |s groupe|d by a l|
|00003870| 6f 6f 70 65 72 2e 20 20 | 49 74 20 77 69 6c 6c 20 |ooper. |It will |
|00003880| 6e 6f 74 20 63 72 65 61 | 74 65 20 74 68 65 20 6f |not crea|te the o|
|00003890| 62 6a 65 63 74 20 28 75 | 73 75 61 6c 6c 79 20 74 |bject (u|sually t|
|000038a0| 68 65 20 22 70 72 65 76 | 69 6f 75 73 22 20 62 75 |he "prev|ious" bu|
|000038b0| 74 74 6f 6e 29 20 69 66 | 20 79 6f 75 20 61 72 65 |tton) if| you are|
|000038c0| 20 61 6c 72 65 61 64 79 | 20 6f 6e 20 74 68 65 20 | already| on the |
|000038d0| 66 69 72 73 74 20 72 65 | 63 6f 72 64 2e 20 0d 0a |first re|cord. ..|
|000038e0| 0d 0a 50 61 72 61 6d 65 | 74 65 72 73 3a 0d 0a 50 |..Parame|ters:..P|
|000038f0| 61 67 65 53 69 7a 65 3a | 20 4e 75 6d 62 65 72 20 |ageSize:| Number |
|00003900| 6f 66 20 72 65 63 6f 72 | 64 73 20 70 65 72 20 64 |of recor|ds per d|
|00003910| 65 74 61 69 6c 20 70 61 | 67 65 2e 20 20 54 68 69 |etail pa|ge. Thi|
|00003920| 73 20 73 68 6f 75 6c 64 | 20 62 65 20 73 65 74 20 |s should| be set |
|00003930| 74 6f 20 74 68 65 20 4c | 6f 6f 70 65 72 27 73 20 |to the L|ooper's |
|00003940| 20 20 27 44 69 73 70 6c | 61 79 4e 75 6d 62 65 72 | 'Displ|ayNumber|
|00003950| 27 20 61 74 74 72 69 62 | 75 74 65 2e 20 0d 0a 42 |' attrib|ute. ..B|
|00003960| 75 74 74 6f 6e 50 6f 73 | 69 74 69 6f 6e 3a 20 50 |uttonPos|ition: P|
|00003970| 61 72 61 6d 65 74 65 72 | 20 74 6f 20 69 6e 64 69 |arameter| to indi|
|00003980| 63 61 74 65 20 77 68 65 | 74 68 65 72 20 74 68 65 |cate whe|ther the|
|00003990| 20 70 61 72 74 69 63 69 | 70 61 74 69 6e 67 20 62 | partici|pating b|
|000039a0| 75 74 74 6f 6e 20 69 73 | 20 61 62 6f 76 65 20 6f |utton is| above o|
|000039b0| 72 20 62 65 6c 6f 77 20 | 74 68 65 20 6c 6f 6f 70 |r below |the loop|
|000039c0| 65 72 20 6f 6e 20 74 68 | 65 20 70 61 67 65 0d 0a |er on th|e page..|
|000039d0| 0d 0a 54 79 70 69 63 61 | 6c 20 50 61 72 74 69 63 |..Typica|l Partic|
|000039e0| 69 70 61 6e 74 73 3a 0d | 0a 5b 53 6f 75 72 63 65 |ipants:.|.[Source|
|000039f0| 5d 20 2d 20 62 75 74 74 | 6f 6e 2c 20 69 6d 61 67 |] - butt|on, imag|
|00003a00| 65 2c 20 65 74 63 2e 0d | 0a 5b 74 61 72 67 65 74 |e, etc..|.[target|
|00003a10| 5d 20 2d 20 52 65 63 6f | 72 64 73 65 74 0d 0a 0d |] - Reco|rdset...|
|00003a20| 0a 46 6f 72 20 6d 6f 72 | 65 20 69 6e 66 6f 72 6d |.For mor|e inform|
|00003a30| 61 74 69 6f 6e 20 6f 6e | 20 63 6f 6e 74 72 61 63 |ation on| contrac|
|00003a40| 74 73 20 6f 66 20 74 68 | 69 73 20 63 61 74 65 67 |ts of th|is categ|
|00003a50| 6f 72 79 2c 20 70 6c 65 | 61 73 65 20 72 65 66 65 |ory, ple|ase refe|
|00003a60| 72 20 74 6f 0d 0a 44 61 | 74 61 62 61 73 65 4d 69 |r to..Da|tabaseMi|
|00003a70| 73 63 65 6c 6c 61 6e 65 | 6f 75 73 2e 64 6f 63 0d |scellane|ous.doc.|
|00003a80| 0a 54 68 69 73 20 66 69 | 6c 65 20 69 73 20 61 76 |.This fi|le is av|
|00003a90| 61 69 6c 61 62 6c 65 20 | 69 6e 20 74 68 65 20 43 |ailable |in the C|
|00003aa0| 6f 6e 74 72 61 63 74 73 | 20 66 6f 6c 64 65 72 20 |ontracts| folder |
|00003ab0| 69 6e 20 74 68 65 20 44 | 72 75 6d 62 65 61 74 20 |in the D|rumbeat |
|00003ac0| 64 69 72 65 63 74 6f 72 | 79 2e 0d 0a 56 31 30 5f |director|y...V10_|
|00003ad0| 33 30 2e 01 80 12 00 00 | 00 46 44 6f 20 6e 6f 74 |30......|.FDo not|
|00003ae0| 20 63 72 65 61 74 65 20 | 5b 73 6f 75 72 63 65 5d | create |[source]|
|00003af0| 20 69 66 20 5b 74 61 72 | 67 65 74 5d 20 69 73 20 | if [tar|get] is |
|00003b00| 6f 6e 20 6c 61 73 74 20 | 73 65 74 20 6f 66 20 72 |on last |set of r|
|00003b10| 65 63 6f 72 64 73 20 69 | 6e 20 4c 6f 6f 70 65 72 |ecords i|n Looper|
|00003b20| 00 00 00 00 00 02 00 03 | 80 01 00 00 00 06 73 6f |........|......so|
|00003b30| 75 72 63 65 01 00 05 80 | 03 00 00 00 00 00 00 00 |urce....|........|
|00003b40| 0c 53 65 72 76 65 72 28 | 68 74 6d 6c 29 01 00 09 |.Server(|html)...|
|00003b50| 80 04 00 00 00 0c 53 65 | 72 76 65 72 28 68 74 6d |......Se|rver(htm|
|00003b60| 6c 29 02 00 00 00 00 00 | 00 00 ff 57 02 2f 2f 20 |l)......|...W.// |
|00003b70| 44 4f 20 4e 4f 54 20 43 | 52 45 41 54 45 20 54 48 |DO NOT C|REATE TH|
|00003b80| 45 20 42 55 54 54 4f 4e | 20 49 46 20 4f 4e 20 4c |E BUTTON| IF ON L|
|00003b90| 41 53 54 20 53 45 54 20 | 4f 46 20 52 45 43 4f 52 |AST SET |OF RECOR|
|00003ba0| 44 53 20 49 4e 20 4c 4f | 4f 50 45 52 0d 0a 0d 0a |DS IN LO|OPER....|
|00003bb0| 70 6f 73 69 74 69 6f 6e | 20 3d 20 5b 74 61 72 67 |position| = [targ|
|00003bc0| 65 74 5d 2e 47 65 74 41 | 62 73 50 6f 73 28 29 0d |et].GetA|bsPos().|
|00003bd0| 0a 50 61 67 65 53 69 7a | 65 20 3d 20 4e 75 6d 62 |.PageSiz|e = Numb|
|00003be0| 65 72 28 5b 50 61 67 65 | 53 69 7a 65 5d 29 0d 0a |er([Page|Size])..|
|00003bf0| 72 65 63 43 6f 75 6e 74 | 20 3d 20 4e 75 6d 62 65 |recCount| = Numbe|
|00003c00| 72 28 5b 74 61 72 67 65 | 74 5d 2e 52 53 2e 52 65 |r([targe|t].RS.Re|
|00003c10| 63 6f 72 64 43 6f 75 6e | 74 29 0d 0a 42 75 74 74 |cordCoun|t)..Butt|
|00003c20| 6f 6e 50 6f 73 20 3d 20 | 5b 42 75 74 74 6f 6e 50 |onPos = |[ButtonP|
|00003c30| 6f 73 69 74 69 6f 6e 5d | 0d 0a 0d 0a 2f 2f 52 65 |osition]|....//Re|
|00003c40| 73 70 6f 6e 73 65 2e 57 | 72 69 74 65 28 22 50 6f |sponse.W|rite("Po|
|00003c50| 73 69 74 69 6f 6e 20 3d | 20 22 20 2b 20 70 6f 73 |sition =| " + pos|
|00003c60| 69 74 69 6f 6e 20 2b 20 | 22 3c 42 52 3e 22 20 2b |ition + |"<BR>" +|
|00003c70| 20 22 72 65 63 43 6f 75 | 6e 74 20 3d 20 22 20 2b | "recCou|nt = " +|
|00003c80| 20 72 65 63 43 6f 75 6e | 74 20 2b 20 22 3c 42 52 | recCoun|t + "<BR|
|00003c90| 3e 22 20 2b 20 22 50 61 | 67 65 53 69 7a 65 20 3d |>" + "Pa|geSize =|
|00003ca0| 20 22 20 2b 20 50 61 67 | 65 53 69 7a 65 29 0d 0a | " + Pag|eSize)..|
|00003cb0| 0d 0a 69 66 20 28 42 75 | 74 74 6f 6e 50 6f 73 20 |..if (Bu|ttonPos |
|00003cc0| 3d 3d 20 22 41 62 6f 76 | 65 20 4c 6f 6f 70 65 72 |== "Abov|e Looper|
|00003cd0| 22 20 26 26 20 28 70 6f | 73 69 74 69 6f 6e 20 3e |" && (po|sition >|
|00003ce0| 3d 20 72 65 63 43 6f 75 | 6e 74 20 7c 7c 20 50 61 |= recCou|nt || Pa|
|00003cf0| 67 65 53 69 7a 65 20 3e | 3d 20 72 65 63 43 6f 75 |geSize >|= recCou|
|00003d00| 6e 74 20 7c 7c 20 28 70 | 6f 73 69 74 69 6f 6e 20 |nt || (p|osition |
|00003d10| 3e 20 31 20 26 26 20 70 | 6f 73 69 74 69 6f 6e 20 |> 1 && p|osition |
|00003d20| 3e 20 72 65 63 43 6f 75 | 6e 74 20 2d 20 50 61 67 |> recCou|nt - Pag|
|00003d30| 65 53 69 7a 65 29 29 29 | 0d 0a 20 20 20 20 68 74 |eSize)))|.. ht|
|00003d40| 6d 6c 20 3d 20 27 27 0d | 0a 65 6c 73 65 20 69 66 |ml = ''.|.else if|
|00003d50| 20 28 42 75 74 74 6f 6e | 50 6f 73 20 3d 3d 20 22 | (Button|Pos == "|
|00003d60| 42 65 6c 6f 77 20 4c 6f | 6f 70 65 72 22 20 26 26 |Below Lo|oper" &&|
|00003d70| 20 28 50 61 67 65 53 69 | 7a 65 20 3e 3d 20 72 65 | (PageSi|ze >= re|
|00003d80| 63 43 6f 75 6e 74 20 7c | 7c 20 70 6f 73 69 74 69 |cCount ||| positi|
|00003d90| 6f 6e 20 3d 3d 20 22 45 | 4f 46 22 29 29 0d 0a 20 |on == "E|OF")).. |
|00003da0| 20 20 20 68 74 6d 6c 20 | 3d 20 27 27 0d 0a 0d 0a | html |= ''....|
|00003db0| 52 65 73 70 6f 6e 73 65 | 2e 57 72 69 74 65 28 68 |Response|.Write(h|
|00003dc0| 74 6d 6c 29 01 00 00 00 | ff 8d 03 27 20 44 4f 20 |tml)....|...' DO |
|00003dd0| 4e 4f 54 20 43 52 45 41 | 54 45 20 54 48 45 20 42 |NOT CREA|TE THE B|
|00003de0| 55 54 54 4f 4e 20 49 46 | 20 4f 4e 20 4c 41 53 54 |UTTON IF| ON LAST|
|00003df0| 20 53 45 54 20 4f 46 20 | 52 45 43 4f 52 44 53 20 | SET OF |RECORDS |
|00003e00| 49 4e 20 4c 4f 4f 50 45 | 52 0d 0a 0d 0a 72 65 63 |IN LOOPE|R....rec|
|00003e10| 43 6f 75 6e 74 20 3d 20 | 43 49 6e 74 28 5b 74 61 |Count = |CInt([ta|
|00003e20| 72 67 65 74 5d 2e 52 53 | 2e 52 65 63 6f 72 64 43 |rget].RS|.RecordC|
|00003e30| 6f 75 6e 74 29 0d 0a 50 | 61 67 65 53 69 7a 65 20 |ount)..P|ageSize |
|00003e40| 3d 20 43 49 6e 74 28 5b | 50 61 67 65 53 69 7a 65 |= CInt([|PageSize|
|00003e50| 5d 29 0d 0a 42 75 74 74 | 6f 6e 50 6f 73 20 3d 20 |])..Butt|onPos = |
|00003e60| 5b 42 75 74 74 6f 6e 50 | 6f 73 69 74 69 6f 6e 5d |[ButtonP|osition]|
|00003e70| 0d 0a 0d 0a 27 20 4c 6f | 67 69 63 20 74 6f 20 64 |....' Lo|gic to d|
|00003e80| 65 74 65 72 6d 69 6e 65 | 20 77 68 65 74 68 65 72 |etermine| whether|
|00003e90| 20 77 65 20 63 61 6e 20 | 63 61 73 74 20 74 68 65 | we can |cast the|
|00003ea0| 20 70 6f 73 69 74 69 6f | 6e 20 74 6f 20 61 6e 20 | positio|n to an |
|00003eb0| 69 6e 74 65 67 65 72 0d | 0a 69 66 20 5b 74 61 72 |integer.|.if [tar|
|00003ec0| 67 65 74 5d 2e 47 65 74 | 41 62 73 50 6f 73 28 29 |get].Get|AbsPos()|
|00003ed0| 20 3d 20 22 45 4f 46 22 | 20 74 68 65 6e 0d 0a 20 | = "EOF"| then.. |
|00003ee0| 20 20 20 70 6f 73 69 74 | 69 6f 6e 20 3d 20 5b 74 | posit|ion = [t|
|00003ef0| 61 72 67 65 74 5d 2e 47 | 65 74 41 62 73 50 6f 73 |arget].G|etAbsPos|
|00003f00| 28 29 0d 0a 65 6c 73 65 | 69 66 20 5b 74 61 72 67 |()..else|if [targ|
|00003f10| 65 74 5d 2e 47 65 74 41 | 62 73 50 6f 73 28 29 20 |et].GetA|bsPos() |
|00003f20| 3d 20 22 4d 54 59 22 20 | 74 68 65 6e 0d 0a 20 20 |= "MTY" |then.. |
|00003f30| 20 20 70 6f 73 69 74 69 | 6f 6e 20 3d 20 31 0d 0a | positi|on = 1..|
|00003f40| 65 6c 73 65 0d 0a 20 20 | 20 20 70 6f 73 69 74 69 |else.. | positi|
|00003f50| 6f 6e 20 3d 20 43 49 6e | 74 28 5b 74 61 72 67 65 |on = CIn|t([targe|
|00003f60| 74 5d 2e 47 65 74 41 62 | 73 50 6f 73 28 29 29 0d |t].GetAb|sPos()).|
|00003f70| 0a 65 6e 64 20 69 66 0d | 0a 0d 0a 69 66 20 28 42 |.end if.|...if (B|
|00003f80| 75 74 74 6f 6e 50 6f 73 | 20 3d 20 22 41 62 6f 76 |uttonPos| = "Abov|
|00003f90| 65 20 4c 6f 6f 70 65 72 | 22 29 20 74 68 65 6e 0d |e Looper|") then.|
|00003fa0| 0a 20 20 20 20 69 66 20 | 28 70 6f 73 69 74 69 6f |. if |(positio|
|00003fb0| 6e 20 3e 3d 20 72 65 63 | 43 6f 75 6e 74 20 4f 52 |n >= rec|Count OR|
|00003fc0| 20 50 61 67 65 53 69 7a | 65 20 3e 3d 20 72 65 63 | PageSiz|e >= rec|
|00003fd0| 43 6f 75 6e 74 20 4f 52 | 20 28 70 6f 73 69 74 69 |Count OR| (positi|
|00003fe0| 6f 6e 20 3e 20 31 20 41 | 4e 44 20 70 6f 73 69 74 |on > 1 A|ND posit|
|00003ff0| 69 6f 6e 20 3e 20 72 65 | 63 43 6f 75 6e 74 20 2d |ion > re|cCount -|
|00004000| 20 50 61 67 65 53 69 7a | 65 29 29 20 74 68 65 6e | PageSiz|e)) then|
|00004010| 0d 0a 20 20 20 20 20 20 | 20 20 68 74 6d 6c 20 3d |.. | html =|
|00004020| 20 22 22 0d 0a 20 20 20 | 20 65 6e 64 20 69 66 0d | "".. | end if.|
|00004030| 0a 65 6c 73 65 69 66 20 | 28 42 75 74 74 6f 6e 50 |.elseif |(ButtonP|
|00004040| 6f 73 20 3d 20 22 42 65 | 6c 6f 77 20 4c 6f 6f 70 |os = "Be|low Loop|
|00004050| 65 72 22 29 20 74 68 65 | 6e 0d 0a 20 20 20 20 69 |er") the|n.. i|
|00004060| 66 20 28 50 61 67 65 53 | 69 7a 65 20 3e 3d 20 72 |f (PageS|ize >= r|
|00004070| 65 63 43 6f 75 6e 74 20 | 4f 52 20 70 6f 73 69 74 |ecCount |OR posit|
|00004080| 69 6f 6e 20 3d 20 22 45 | 4f 46 22 29 20 74 68 65 |ion = "E|OF") the|
|00004090| 6e 0d 0a 20 20 20 20 20 | 20 20 20 68 74 6d 6c 20 |n.. | html |
|000040a0| 3d 20 22 22 0d 0a 20 20 | 20 20 65 6e 64 20 69 66 |= "".. | end if|
|000040b0| 0d 0a 65 6e 64 20 69 66 | 0d 0a 0d 0a 27 20 52 65 |..end if|....' Re|
|000040c0| 73 70 6f 6e 73 65 2e 57 | 72 69 74 65 28 22 50 6f |sponse.W|rite("Po|
|000040d0| 73 69 74 69 6f 6e 20 3d | 20 22 20 2b 20 43 73 74 |sition =| " + Cst|
|000040e0| 72 28 70 6f 73 69 74 69 | 6f 6e 29 20 2b 20 22 3c |r(positi|on) + "<|
|000040f0| 42 52 3e 22 20 2b 20 22 | 72 65 63 43 6f 75 6e 74 |BR>" + "|recCount|
|00004100| 20 3d 20 22 20 2b 20 43 | 53 74 72 28 72 65 63 43 | = " + C|Str(recC|
|00004110| 6f 75 6e 74 29 20 2b 20 | 22 3c 42 52 3e 22 20 2b |ount) + |"<BR>" +|
|00004120| 20 22 50 61 67 65 53 69 | 7a 65 20 3d 20 22 20 2b | "PageSi|ze = " +|
|00004130| 20 43 53 74 72 28 50 61 | 67 65 53 69 7a 65 29 29 | CStr(Pa|geSize))|
|00004140| 0d 0a 0d 0a 52 65 73 70 | 6f 6e 73 65 2e 57 72 69 |....Resp|onse.Wri|
|00004150| 74 65 28 68 74 6d 6c 29 | 03 80 01 00 00 00 06 74 |te(html)|.......t|
|00004160| 61 72 67 65 74 01 00 05 | 80 03 00 00 00 01 00 00 |arget...|........|
|00004170| 00 14 47 65 74 43 6f 6c | 75 6d 6e 56 61 6c 75 65 |..GetCol|umnValue|
|00004180| 28 6e 61 6d 65 29 00 00 | 02 00 0b 80 05 00 00 00 |(name)..|........|
|00004190| 08 50 61 67 65 53 69 7a | 65 02 00 00 00 03 00 05 |.PageSiz|e.......|
|000041a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 0b 80 |........|........|
|000041b0| 05 00 00 00 0e 42 75 74 | 74 6f 6e 50 6f 73 69 74 |.....But|tonPosit|
|000041c0| 69 6f 6e 04 00 00 00 08 | 00 18 00 00 00 41 00 62 |ion.....|.....A.b|
|000041d0| 00 6f 00 76 00 65 00 20 | 00 4c 00 6f 00 6f 00 70 |.o.v.e. |.L.o.o.p|
|000041e0| 00 65 00 72 00 02 00 0c | 41 62 6f 76 65 20 4c 6f |.e.r....|Above Lo|
|000041f0| 6f 70 65 72 0c 42 65 6c | 6f 77 20 4c 6f 6f 70 65 |oper.Bel|ow Loope|
|00004200| 72 00 00 00 00 00 00 00 | 00 00 16 44 61 74 61 62 |r.......|...Datab|
|00004210| 61 73 65 20 4d 69 73 63 | 65 6c 6c 61 6e 65 6f 75 |ase Misc|ellaneou|
|00004220| 73 00 00 00 00 00 00 04 | 00 00 00 01 00 00 00 00 |s.......|........|
|00004230| 00 01 21 ee 9e 3d 9f d2 | 11 86 05 00 60 08 ce 58 |..!..=..|....`..X|
|00004240| 2b 01 00 00 00 24 33 37 | 37 41 43 34 33 30 2d 36 |+....$37|7AC430-6|
|00004250| 32 31 31 2d 31 31 44 32 | 2d 38 31 31 37 2d 30 30 |211-11D2|-8117-00|
|00004260| 36 30 30 38 43 38 36 43 | 32 35 03 33 2e 30 ff bf |6008C86C|25.3.0..|
|00004270| 02 44 65 73 63 72 69 70 | 74 69 6f 6e 3a 0d 0a 54 |.Descrip|tion:..T|
|00004280| 68 69 73 20 63 6f 6e 74 | 72 61 63 74 20 69 73 20 |his cont|ract is |
|00004290| 64 65 73 69 67 6e 65 64 | 20 66 6f 72 20 64 65 74 |designed| for det|
|000042a0| 61 69 6c 20 70 61 67 65 | 20 63 6f 6e 74 61 69 6e |ail page| contain|
|000042b0| 69 6e 67 20 6d 75 6c 74 | 69 70 6c 65 20 72 65 63 |ing mult|iple rec|
|000042c0| 6f 72 64 73 20 67 72 6f | 75 70 65 64 20 62 79 20 |ords gro|uped by |
|000042d0| 61 20 6c 6f 6f 70 65 72 | 2e 20 20 49 74 20 77 69 |a looper|. It wi|
|000042e0| 6c 6c 20 6e 6f 74 20 63 | 72 65 61 74 65 20 74 68 |ll not c|reate th|
|000042f0| 65 20 6f 62 6a 65 63 74 | 20 28 75 73 75 61 6c 6c |e object| (usuall|
|00004300| 79 20 74 68 65 20 22 6e | 65 78 74 22 20 62 75 74 |y the "n|ext" but|
|00004310| 74 6f 6e 29 20 69 66 20 | 79 6f 75 20 61 72 65 20 |ton) if |you are |
|00004320| 61 6c 72 65 61 64 79 20 | 6f 6e 20 74 68 65 20 6c |already |on the l|
|00004330| 61 73 74 20 72 65 63 6f | 72 64 2e 20 0d 0a 0d 0a |ast reco|rd. ....|
|00004340| 50 61 72 61 6d 65 74 65 | 72 73 3a 0d 0a 50 61 67 |Paramete|rs:..Pag|
|00004350| 65 53 69 7a 65 3a 20 4e | 75 6d 62 65 72 20 6f 66 |eSize: N|umber of|
|00004360| 20 72 65 63 6f 72 64 73 | 20 70 65 72 20 64 65 74 | records| per det|
|00004370| 61 69 6c 20 70 61 67 65 | 2e 20 20 54 68 69 73 20 |ail page|. This |
|00004380| 73 68 6f 75 6c 64 20 62 | 65 20 73 65 74 20 74 6f |should b|e set to|
|00004390| 20 74 68 65 20 4c 6f 6f | 70 65 72 27 73 20 20 20 | the Loo|per's |
|000043a0| 27 44 69 73 70 6c 61 79 | 4e 75 6d 62 65 72 27 20 |'Display|Number' |
|000043b0| 61 74 74 72 69 62 75 74 | 65 2e 20 0d 0a 42 75 74 |attribut|e. ..But|
|000043c0| 74 6f 6e 50 6f 73 69 74 | 69 6f 6e 3a 20 50 61 72 |tonPosit|ion: Par|
|000043d0| 61 6d 65 74 65 72 20 74 | 6f 20 69 6e 64 69 63 61 |ameter t|o indica|
|000043e0| 74 65 20 77 68 65 74 68 | 65 72 20 74 68 65 20 70 |te wheth|er the p|
|000043f0| 61 72 74 69 63 69 70 61 | 74 69 6e 67 20 62 75 74 |articipa|ting but|
|00004400| 74 6f 6e 20 69 73 20 61 | 62 6f 76 65 20 6f 72 20 |ton is a|bove or |
|00004410| 62 65 6c 6f 77 20 74 68 | 65 20 6c 6f 6f 70 65 72 |below th|e looper|
|00004420| 20 6f 6e 20 74 68 65 20 | 70 61 67 65 0d 0a 0d 0a | on the |page....|
|00004430| 54 79 70 69 63 61 6c 20 | 50 61 72 74 69 63 69 70 |Typical |Particip|
|00004440| 61 6e 74 73 3a 0d 0a 5b | 53 6f 75 72 63 65 5d 20 |ants:..[|Source] |
|00004450| 2d 20 62 75 74 74 6f 6e | 2c 20 69 6d 61 67 65 2c |- button|, image,|
|00004460| 20 65 74 63 2e 0d 0a 5b | 74 61 72 67 65 74 20 2d | etc...[|target -|
|00004470| 20 72 65 63 6f 72 64 73 | 65 74 0d 0a 0d 0a 46 6f | records|et....Fo|
|00004480| 72 20 6d 6f 72 65 20 69 | 6e 66 6f 72 6d 61 74 69 |r more i|nformati|
|00004490| 6f 6e 20 6f 6e 20 63 6f | 6e 74 72 61 63 74 73 20 |on on co|ntracts |
|000044a0| 6f 66 20 74 68 69 73 20 | 63 61 74 65 67 6f 72 79 |of this |category|
|000044b0| 2c 20 70 6c 65 61 73 65 | 20 72 65 66 65 72 20 74 |, please| refer t|
|000044c0| 6f 0d 0a 44 61 74 61 62 | 61 73 65 4d 69 73 63 65 |o..Datab|aseMisce|
|000044d0| 6c 6c 61 6e 65 6f 75 73 | 2e 64 6f 63 0d 0a 54 68 |llaneous|.doc..Th|
|000044e0| 69 73 20 66 69 6c 65 20 | 69 73 20 61 76 61 69 6c |is file |is avail|
|000044f0| 61 62 6c 65 20 69 6e 20 | 74 68 65 20 43 6f 6e 74 |able in |the Cont|
|00004500| 72 61 63 74 73 20 66 6f | 6c 64 65 72 20 69 6e 20 |racts fo|lder in |
|00004510| 74 68 65 20 44 72 75 6d | 62 65 61 74 20 64 69 72 |the Drum|beat dir|
|00004520| 65 63 74 6f 72 79 2e 0d | 0a 56 31 30 5f 33 30 2e |ectory..|.V10_30.|
|00004530| 01 80 12 00 00 00 3d 4c | 69 6e 6b 20 74 6f 20 45 |......=L|ink to E|
|00004540| 2d 6d 61 69 6c 20 61 64 | 64 72 65 73 73 20 66 72 |-mail ad|dress fr|
|00004550| 6f 6d 20 5b 73 6f 75 72 | 63 65 5d 20 77 68 65 6e |om [sour|ce] when|
|00004560| 20 5b 74 61 72 67 65 74 | 5d 20 69 73 20 63 6c 69 | [target|] is cli|
|00004570| 63 6b 65 64 00 00 00 00 | 00 02 00 03 80 01 00 00 |cked....|........|
|00004580| 00 06 73 6f 75 72 63 65 | 01 00 05 80 03 00 00 00 |..source|........|
|00004590| 01 00 00 00 14 47 65 74 | 43 6f 6c 75 6d 6e 56 61 |.....Get|ColumnVa|
|000045a0| 6c 75 65 28 6e 61 6d 65 | 29 00 00 03 80 01 00 00 |lue(name|).......|
|000045b0| 00 06 74 61 72 67 65 74 | 02 00 05 80 03 00 00 00 |..target|........|
|000045c0| 00 00 00 00 07 6f 6e 43 | 6c 69 63 6b 05 80 03 00 |.....onC|lick....|
|000045d0| 00 00 00 00 00 00 0c 53 | 65 72 76 65 72 28 68 74 |.......S|erver(ht|
|000045e0| 6d 6c 29 02 00 09 80 04 | 00 00 00 0c 53 65 72 76 |ml).....|....Serv|
|000045f0| 65 72 28 68 74 6d 6c 29 | 02 00 00 00 00 00 00 00 |er(html)|........|
|00004600| ff 5d 02 76 61 72 20 70 | 72 65 73 65 6e 74 20 3d |.].var p|resent =|
|00004610| 20 22 22 3b 0d 0a 78 20 | 3d 20 30 3b 0d 0a 6c 69 | "";..x |= 0;..li|
|00004620| 6e 6b 65 64 20 3d 20 74 | 72 75 65 3b 0d 0a 70 69 |nked = t|rue;..pi|
|00004630| 65 63 65 73 20 3d 20 68 | 74 6d 6c 2e 73 70 6c 69 |eces = h|tml.spli|
|00004640| 74 28 27 48 52 45 46 3d | 22 27 29 3b 0d 0a 69 66 |t('HREF=|"');..if|
|00004650| 20 28 70 69 65 63 65 73 | 2e 6c 65 6e 67 74 68 20 | (pieces|.length |
|00004660| 3d 3d 20 31 29 20 7b 0d | 0a 20 20 6c 69 6e 6b 65 |== 1) {.|. linke|
|00004670| 64 20 3d 20 66 61 6c 73 | 65 3b 0d 0a 20 20 7d 0d |d = fals|e;.. }.|
|00004680| 0a 69 66 20 28 6c 69 6e | 6b 65 64 20 3d 3d 20 66 |.if (lin|ked == f|
|00004690| 61 6c 73 65 29 20 7b 0d | 0a 20 20 70 72 65 73 65 |alse) {.|. prese|
|000046a0| 6e 74 20 2b 3d 20 28 27 | 3c 41 20 48 52 45 46 3d |nt += ('|<A HREF=|
|000046b0| 22 6d 61 69 6c 74 6f 3a | 27 2b 5b 73 6f 75 72 63 |"mailto:|'+[sourc|
|000046c0| 65 5d 2e 47 65 74 43 6f | 6c 75 6d 6e 56 61 6c 75 |e].GetCo|lumnValu|
|000046d0| 65 28 5b 63 6f 6c 75 6d | 6e 5d 29 2b 27 22 3e 27 |e([colum|n])+'">'|
|000046e0| 29 3b 0d 0a 20 20 70 72 | 65 73 65 6e 74 20 2b 3d |);.. pr|esent +=|
|000046f0| 20 68 74 6d 6c 3b 0d 0a | 20 20 70 72 65 73 65 6e | html;..| presen|
|00004700| 74 20 2b 3d 20 22 3c 2f | 41 3e 22 3b 0d 0a 20 20 |t += "</|A>";.. |
|00004710| 7d 0d 0a 65 6c 73 65 20 | 7b 0d 0a 20 20 77 68 69 |}..else |{.. whi|
|00004720| 6c 65 20 28 68 74 6d 6c | 2e 73 75 62 73 74 72 28 |le (html|.substr(|
|00004730| 78 2c 31 29 20 21 3d 20 | 27 22 27 29 20 7b 0d 0a |x,1) != |'"') {..|
|00004740| 20 20 20 20 70 72 65 73 | 65 6e 74 20 2b 3d 20 68 | pres|ent += h|
|00004750| 74 6d 6c 2e 73 75 62 73 | 74 72 28 78 2c 31 29 3b |tml.subs|tr(x,1);|
|00004760| 20 0d 0a 20 20 20 20 78 | 2b 2b 3b 0d 0a 20 20 20 | .. x|++;.. |
|00004770| 20 7d 0d 0a 20 20 70 72 | 65 73 65 6e 74 20 2b 3d | }.. pr|esent +=|
|00004780| 20 27 22 27 2b 5b 73 6f | 75 72 63 65 5d 2e 47 65 | '"'+[so|urce].Ge|
|00004790| 74 43 6f 6c 75 6d 6e 56 | 61 6c 75 65 28 5b 63 6f |tColumnV|alue([co|
|000047a0| 6c 75 6d 6e 5d 29 2b 27 | 22 27 3b 0d 0a 20 20 78 |lumn])+'|"';.. x|
|000047b0| 2b 2b 3b 0d 0a 20 20 77 | 68 69 6c 65 20 28 68 74 |++;.. w|hile (ht|
|000047c0| 6d 6c 2e 73 75 62 73 74 | 72 28 78 2c 31 29 20 21 |ml.subst|r(x,1) !|
|000047d0| 3d 20 27 22 27 29 20 7b | 0d 0a 20 20 20 20 78 2b |= '"') {|.. x+|
|000047e0| 2b 3b 0d 0a 20 20 20 20 | 7d 0d 0a 20 20 78 2b 2b |+;.. |}.. x++|
|000047f0| 3b 0d 0a 20 20 77 68 69 | 6c 65 20 28 78 20 3c 20 |;.. whi|le (x < |
|00004800| 68 74 6d 6c 2e 6c 65 6e | 67 74 68 29 20 7b 0d 0a |html.len|gth) {..|
|00004810| 20 20 20 20 70 72 65 73 | 65 6e 74 20 2b 3d 20 68 | pres|ent += h|
|00004820| 74 6d 6c 2e 73 75 62 73 | 74 72 28 78 2c 31 29 3b |tml.subs|tr(x,1);|
|00004830| 0d 0a 20 20 20 20 78 2b | 2b 3b 0d 0a 20 20 20 20 |.. x+|+;.. |
|00004840| 7d 0d 0a 20 20 7d 0d 0a | 52 65 73 70 6f 6e 73 65 |}.. }..|Response|
|00004850| 2e 57 72 69 74 65 28 70 | 72 65 73 65 6e 74 29 3b |.Write(p|resent);|
|00004860| 01 00 00 00 ff c8 02 70 | 72 65 73 65 6e 74 20 3d |.......p|resent =|
|00004870| 20 22 22 0d 0a 78 20 3d | 20 30 0d 0a 6c 69 6e 6b | ""..x =| 0..link|
|00004880| 65 64 20 3d 20 74 72 75 | 65 0d 0a 64 62 6c 51 75 |ed = tru|e..dblQu|
|00004890| 6f 74 65 20 3d 20 22 22 | 22 22 0d 0a 70 69 65 63 |ote = ""|""..piec|
|000048a0| 65 73 20 3d 20 53 70 6c | 69 74 28 68 74 6d 6c 2c |es = Spl|it(html,|
|000048b0| 20 22 27 48 52 45 46 3d | 22 20 26 20 22 27 22 29 | "'HREF=|" & "'")|
|000048c0| 0d 0a 0d 0a 69 66 20 55 | 62 6f 75 6e 64 28 70 69 |....if U|bound(pi|
|000048d0| 65 63 65 73 29 20 3c 20 | 31 20 74 68 65 6e 0d 0a |eces) < |1 then..|
|000048e0| 20 20 20 20 6c 69 6e 6b | 65 64 20 3d 20 66 61 6c | link|ed = fal|
|000048f0| 73 65 0d 0a 65 6e 64 20 | 69 66 0d 0a 0d 0a 69 66 |se..end |if....if|
|00004900| 20 4e 6f 74 20 6c 69 6e | 6b 65 64 20 74 68 65 6e | Not lin|ked then|
|00004910| 0d 0a 20 20 20 20 70 72 | 65 73 65 6e 74 20 3d 20 |.. pr|esent = |
|00004920| 70 72 65 73 65 6e 74 20 | 26 20 22 3c 41 20 48 52 |present |& "<A HR|
|00004930| 45 46 3d 27 22 20 26 20 | 22 6d 61 69 6c 74 6f 3a |EF='" & |"mailto:|
|00004940| 22 20 26 20 5b 73 6f 75 | 72 63 65 5d 2e 47 65 74 |" & [sou|rce].Get|
|00004950| 43 6f 6c 75 6d 6e 56 61 | 6c 75 65 28 5b 63 6f 6c |ColumnVa|lue([col|
|00004960| 75 6d 6e 5d 29 20 26 20 | 22 27 3e 22 20 26 20 68 |umn]) & |"'>" & h|
|00004970| 74 6d 6c 20 26 20 22 3c | 2f 41 3e 22 0d 0a 65 6c |tml & "<|/A>"..el|
|00004980| 73 65 0d 0a 20 20 20 20 | 77 68 69 6c 65 20 4d 69 |se.. |while Mi|
|00004990| 64 28 68 74 6d 6c 2c 20 | 78 2c 20 31 29 20 3c 3e |d(html, |x, 1) <>|
|000049a0| 20 64 62 6c 51 75 6f 74 | 65 20 0d 0a 20 20 20 20 | dblQuot|e .. |
|000049b0| 20 20 20 20 70 72 65 73 | 65 6e 74 20 3d 20 70 72 | pres|ent = pr|
|000049c0| 65 73 65 6e 74 20 26 20 | 4d 69 64 28 68 74 6d 6c |esent & |Mid(html|
|000049d0| 2c 20 78 2c 20 31 29 20 | 0d 0a 20 20 20 20 20 20 |, x, 1) |.. |
|000049e0| 20 20 78 20 3d 20 78 20 | 2b 20 31 0d 0a 20 20 20 | x = x |+ 1.. |
|000049f0| 20 77 65 6e 64 0d 0a 20 | 20 20 20 70 72 65 73 65 | wend.. | prese|
|00004a00| 6e 74 20 3d 20 70 72 65 | 73 65 6e 74 20 26 20 64 |nt = pre|sent & d|
|00004a10| 62 6c 51 75 6f 74 65 20 | 26 20 5b 73 6f 75 72 63 |blQuote |& [sourc|
|00004a20| 65 5d 2e 47 65 74 43 6f | 6c 75 6d 6e 56 61 6c 75 |e].GetCo|lumnValu|
|00004a30| 65 28 5b 63 6f 6c 75 6d | 6e 5d 29 20 26 20 64 62 |e([colum|n]) & db|
|00004a40| 6c 51 75 6f 74 65 20 0d | 0a 20 20 20 20 78 20 3d |lQuote .|. x =|
|00004a50| 20 78 20 2b 20 31 0d 0a | 20 20 20 20 77 68 69 6c | x + 1..| whil|
|00004a60| 65 20 4d 69 64 28 68 74 | 6d 6c 2c 20 78 2c 20 31 |e Mid(ht|ml, x, 1|
|00004a70| 29 20 3c 3e 20 64 62 6c | 51 75 6f 74 65 20 0d 0a |) <> dbl|Quote ..|
|00004a80| 20 20 20 20 20 20 20 20 | 78 20 3d 20 78 20 2b 20 | |x = x + |
|00004a90| 31 0d 0a 20 20 20 20 77 | 65 6e 64 0d 0a 20 20 20 |1.. w|end.. |
|00004aa0| 20 78 20 3d 20 78 20 2b | 20 31 0d 0a 20 20 20 20 | x = x +| 1.. |
|00004ab0| 77 68 69 6c 65 20 78 20 | 3c 20 4c 65 6e 28 68 74 |while x |< Len(ht|
|00004ac0| 6d 6c 29 0d 0a 20 20 20 | 20 20 20 20 20 70 72 65 |ml).. | pre|
|00004ad0| 73 65 6e 74 20 3d 20 70 | 72 65 73 65 6e 74 20 26 |sent = p|resent &|
|00004ae0| 20 4d 69 64 28 68 74 6d | 6c 2c 20 78 2c 20 31 29 | Mid(htm|l, x, 1)|
|00004af0| 20 0d 0a 20 20 20 20 20 | 20 20 20 78 20 3d 20 78 | .. | x = x|
|00004b00| 20 2b 20 31 0d 0a 20 20 | 20 20 77 65 6e 64 0d 0a | + 1.. | wend..|
|00004b10| 65 6e 64 20 69 66 0d 0a | 52 65 73 70 6f 6e 73 65 |end if..|Response|
|00004b20| 2e 57 72 69 74 65 28 70 | 72 65 73 65 6e 74 29 09 |.Write(p|resent).|
|00004b30| 80 04 00 00 00 07 6f 6e | 43 6c 69 63 6b 01 00 00 |......on|Click...|
|00004b40| 00 00 00 00 00 00 01 00 | 0b 80 05 00 00 00 06 63 |........|.......c|
|00004b50| 6f 6c 75 6d 6e 04 00 00 | 00 08 00 00 00 00 00 00 |olumn...|........|
|00004b60| 00 01 00 00 00 06 73 6f | 75 72 63 65 00 00 00 00 |......so|urce....|
|00004b70| 16 44 61 74 61 62 61 73 | 65 20 4d 69 73 63 65 6c |.Databas|e Miscel|
|00004b80| 6c 61 6e 65 6f 75 73 00 | 00 00 00 00 00 04 00 00 |laneous.|........|
|00004b90| 00 01 00 00 00 01 00 09 | 80 04 00 00 00 06 6f 6e |........|......on|
|00004ba0| 42 6c 75 72 01 00 00 00 | 00 00 00 00 00 ec d0 f5 |Blur....|........|
|00004bb0| e8 6d 1b d2 11 80 2d 00 | 60 08 d0 5d eb 01 00 00 |.m....-.|`..]....|
|00004bc0| 00 24 33 37 37 41 43 34 | 33 30 2d 36 32 31 31 2d |.$377AC4|30-6211-|
|00004bd0| 31 31 44 32 2d 38 31 31 | 37 2d 30 30 36 30 30 38 |11D2-811|7-006008|
|00004be0| 43 38 36 43 32 35 03 33 | 2e 30 ff 1c 02 44 65 73 |C86C25.3|.0...Des|
|00004bf0| 63 72 69 70 74 69 6f 6e | 3a 0d 0a 54 68 69 73 20 |cription|:..This |
|00004c00| 63 6f 6e 74 72 61 63 74 | 20 73 65 74 73 20 61 6e |contract| sets an|
|00004c10| 20 65 2d 6d 61 69 6c 20 | 6c 69 6e 6b 2c 20 66 72 | e-mail |link, fr|
|00004c20| 6f 6d 20 74 68 65 20 64 | 61 74 61 62 61 73 65 2c |om the d|atabase,|
|00004c30| 20 6f 6e 20 77 68 61 74 | 65 76 65 72 20 65 6c 65 | on what|ever ele|
|00004c40| 6d 65 6e 74 20 69 74 20 | 69 73 20 61 70 70 6c 69 |ment it |is appli|
|00004c50| 65 64 20 74 6f 2e 20 20 | 57 68 65 6e 20 74 68 65 |ed to. |When the|
|00004c60| 20 73 6f 75 72 63 65 20 | 65 6c 65 6d 65 6e 74 20 | source |element |
|00004c70| 69 73 20 63 6c 69 63 6b | 65 64 2c 20 74 68 65 20 |is click|ed, the |
|00004c80| 65 2d 6d 61 69 6c 20 6c | 69 6e 6b 20 73 70 65 63 |e-mail l|ink spec|
|00004c90| 69 66 69 65 64 20 62 79 | 20 74 68 65 20 63 6f 6c |ified by| the col|
|00004ca0| 75 6d 6e 20 70 61 72 61 | 6d 65 74 65 72 20 69 73 |umn para|meter is|
|00004cb0| 20 65 78 65 63 75 74 65 | 64 2e 20 0d 0a 0d 0a 0d | execute|d. .....|
|00004cc0| 0a 50 61 72 61 6d 65 74 | 65 72 73 3a 0d 0a 63 6f |.Paramet|ers:..co|
|00004cd0| 6c 75 6d 6e 20 2d 20 74 | 68 65 20 63 6f 6c 75 6d |lumn - t|he colum|
|00004ce0| 6e 20 66 72 6f 6d 20 79 | 6f 75 72 20 64 61 74 61 |n from y|our data|
|00004cf0| 62 61 73 65 20 74 68 61 | 74 20 68 6f 6c 64 73 20 |base tha|t holds |
|00004d00| 65 2d 6d 61 69 6c 20 61 | 64 64 72 65 73 73 65 73 |e-mail a|ddresses|
|00004d10| 2e 0d 0a 0d 0a 54 79 70 | 69 63 61 6c 20 50 61 72 |.....Typ|ical Par|
|00004d20| 74 69 63 69 70 61 6e 74 | 73 3a 0d 0a 5b 53 6f 75 |ticipant|s:..[Sou|
|00004d30| 72 63 65 5d 20 2d 20 69 | 6d 61 67 65 2c 20 62 75 |rce] - i|mage, bu|
|00004d40| 74 74 6f 6e 2c 20 74 65 | 78 74 20 62 6f 78 2c 20 |tton, te|xt box, |
|00004d50| 65 74 63 0d 0a 0d 0a 46 | 6f 72 20 6d 6f 72 65 20 |etc....F|or more |
|00004d60| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 6f 6e 20 63 |informat|ion on c|
|00004d70| 6f 6e 74 72 61 63 74 73 | 20 6f 66 20 74 68 69 73 |ontracts| of this|
|00004d80| 20 63 61 74 65 67 6f 72 | 79 2c 20 70 6c 65 61 73 | categor|y, pleas|
|00004d90| 65 20 72 65 66 65 72 20 | 74 6f 0d 0a 44 61 74 61 |e refer |to..Data|
|00004da0| 62 61 73 65 4d 69 73 63 | 65 6c 6c 61 6e 65 6f 75 |baseMisc|ellaneou|
|00004db0| 73 2e 64 6f 63 0d 0a 54 | 68 69 73 20 66 69 6c 65 |s.doc..T|his file|
|00004dc0| 20 69 73 20 61 76 61 69 | 6c 61 62 6c 65 20 69 6e | is avai|lable in|
|00004dd0| 20 74 68 65 20 43 6f 6e | 74 72 61 63 74 73 20 66 | the Con|tracts f|
|00004de0| 6f 6c 64 65 72 20 69 6e | 20 74 68 65 20 44 72 75 |older in| the Dru|
|00004df0| 6d 62 65 61 74 20 64 69 | 72 65 63 74 6f 72 79 2e |mbeat di|rectory.|
|00004e00| 0d 0a 56 31 30 5f 33 30 | 2e 01 80 12 00 00 00 39 |..V10_30|.......9|
|00004e10| 4c 69 6e 6b 20 74 6f 20 | 55 52 4c 20 63 6f 6c 75 |Link to |URL colu|
|00004e20| 6d 6e 20 66 72 6f 6d 20 | 5b 73 6f 75 72 63 65 5d |mn from |[source]|
|00004e30| 20 77 68 65 6e 20 5b 74 | 61 72 67 65 74 5d 20 69 | when [t|arget] i|
|00004e40| 73 20 63 6c 69 63 6b 65 | 64 00 00 00 00 00 02 00 |s clicke|d.......|
|00004e50| 03 80 01 00 00 00 06 73 | 6f 75 72 63 65 01 00 05 |.......s|ource...|
|00004e60| 80 03 00 00 00 01 00 00 | 00 14 47 65 74 43 6f 6c |........|..GetCol|
|00004e70| 75 6d 6e 56 61 6c 75 65 | 28 6e 61 6d 65 29 00 00 |umnValue|(name)..|
|00004e80| 03 80 01 00 00 00 06 74 | 61 72 67 65 74 02 00 05 |.......t|arget...|
|00004e90| 80 03 00 00 00 00 00 00 | 00 07 6f 6e 43 6c 69 63 |........|..onClic|
|00004ea0| 6b 05 80 03 00 00 00 00 | 00 00 00 0c 53 65 72 76 |k.......|....Serv|
|00004eb0| 65 72 28 68 74 6d 6c 29 | 02 00 09 80 04 00 00 00 |er(html)|........|
|00004ec0| 0c 53 65 72 76 65 72 28 | 68 74 6d 6c 29 02 00 00 |.Server(|html)...|
|00004ed0| 00 00 00 00 00 ff 57 02 | 76 61 72 0d 0a 70 72 65 |......W.|var..pre|
|00004ee0| 73 65 6e 74 20 3d 20 22 | 22 3b 0d 0a 78 20 3d 20 |sent = "|";..x = |
|00004ef0| 30 3b 0d 0a 6c 69 6e 6b | 65 64 20 3d 20 74 72 75 |0;..link|ed = tru|
|00004f00| 65 3b 0d 0a 70 69 65 63 | 65 73 20 3d 20 68 74 6d |e;..piec|es = htm|
|00004f10| 6c 2e 73 70 6c 69 74 28 | 27 48 52 45 46 3d 22 27 |l.split(|'HREF="'|
|00004f20| 29 3b 0d 0a 0d 0a 69 66 | 20 28 70 69 65 63 65 73 |);....if| (pieces|
|00004f30| 2e 6c 65 6e 67 74 68 20 | 3d 3d 20 31 29 20 7b 0d |.length |== 1) {.|
|00004f40| 0a 20 20 6c 69 6e 6b 65 | 64 20 3d 20 66 61 6c 73 |. linke|d = fals|
|00004f50| 65 3b 0d 0a 20 20 7d 0d | 0a 69 66 20 28 6c 69 6e |e;.. }.|.if (lin|
|00004f60| 6b 65 64 20 3d 3d 20 66 | 61 6c 73 65 29 20 7b 0d |ked == f|alse) {.|
|00004f70| 0a 20 20 70 72 65 73 65 | 6e 74 20 2b 3d 20 27 3c |. prese|nt += '<|
|00004f80| 41 20 48 52 45 46 3d 22 | 27 2b 5b 73 6f 75 72 63 |A HREF="|'+[sourc|
|00004f90| 65 5d 2e 47 65 74 43 6f | 6c 75 6d 6e 56 61 6c 75 |e].GetCo|lumnValu|
|00004fa0| 65 28 5b 63 6f 6c 75 6d | 6e 5d 29 2b 27 22 3e 27 |e([colum|n])+'">'|
|00004fb0| 3b 0d 0a 20 20 70 72 65 | 73 65 6e 74 20 2b 3d 20 |;.. pre|sent += |
|00004fc0| 68 74 6d 6c 3b 0d 0a 20 | 20 70 72 65 73 65 6e 74 |html;.. | present|
|00004fd0| 20 2b 3d 20 22 3c 2f 41 | 3e 22 3b 0d 0a 20 20 7d | += "</A|>";.. }|
|00004fe0| 0d 0a 65 6c 73 65 20 7b | 0d 0a 20 20 77 68 69 6c |..else {|.. whil|
|00004ff0| 65 20 28 68 74 6d 6c 2e | 73 75 62 73 74 72 28 78 |e (html.|substr(x|
|00005000| 2c 31 29 20 21 3d 20 27 | 22 27 29 20 7b 0d 0a 20 |,1) != '|"') {.. |
|00005010| 20 20 20 70 72 65 73 65 | 6e 74 20 2b 3d 20 68 74 | prese|nt += ht|
|00005020| 6d 6c 2e 73 75 62 73 74 | 72 28 78 2c 31 29 3b 20 |ml.subst|r(x,1); |
|00005030| 0d 0a 20 20 20 20 78 2b | 2b 3b 0d 0a 20 20 20 20 |.. x+|+;.. |
|00005040| 7d 0d 0a 20 20 70 72 65 | 73 65 6e 74 20 2b 3d 20 |}.. pre|sent += |
|00005050| 27 22 27 2b 5b 73 6f 75 | 72 63 65 5d 2e 47 65 74 |'"'+[sou|rce].Get|
|00005060| 43 6f 6c 75 6d 6e 56 61 | 6c 75 65 28 5b 63 6f 6c |ColumnVa|lue([col|
|00005070| 75 6d 6e 5d 29 2b 27 22 | 27 3b 0d 0a 20 20 78 2b |umn])+'"|';.. x+|
|00005080| 2b 3b 0d 0a 20 20 77 68 | 69 6c 65 20 28 68 74 6d |+;.. wh|ile (htm|
|00005090| 6c 2e 73 75 62 73 74 72 | 28 78 2c 31 29 20 21 3d |l.substr|(x,1) !=|
|000050a0| 20 27 22 27 29 20 7b 0d | 0a 20 20 20 20 78 2b 2b | '"') {.|. x++|
|000050b0| 3b 0d 0a 20 20 20 20 7d | 0d 0a 20 20 78 2b 2b 3b |;.. }|.. x++;|
|000050c0| 0d 0a 20 20 77 68 69 6c | 65 20 28 78 20 3c 20 68 |.. whil|e (x < h|
|000050d0| 74 6d 6c 2e 6c 65 6e 67 | 74 68 29 20 7b 0d 0a 20 |tml.leng|th) {.. |
|000050e0| 20 20 20 70 72 65 73 65 | 6e 74 20 2b 3d 20 68 74 | prese|nt += ht|
|000050f0| 6d 6c 2e 73 75 62 73 74 | 72 28 78 2c 31 29 3b 0d |ml.subst|r(x,1);.|
|00005100| 0a 20 20 20 20 78 2b 2b | 3b 0d 0a 20 20 20 20 7d |. x++|;.. }|
|00005110| 0d 0a 20 20 7d 0d 0a 52 | 65 73 70 6f 6e 73 65 2e |.. }..R|esponse.|
|00005120| 57 72 69 74 65 28 70 72 | 65 73 65 6e 74 29 3b 01 |Write(pr|esent);.|
|00005130| 00 00 00 ff bc 02 70 72 | 65 73 65 6e 74 20 3d 20 |......pr|esent = |
|00005140| 22 22 0d 0a 78 20 3d 20 | 30 0d 0a 6c 69 6e 6b 65 |""..x = |0..linke|
|00005150| 64 20 3d 20 74 72 75 65 | 0d 0a 64 62 6c 51 75 6f |d = true|..dblQuo|
|00005160| 74 65 20 3d 20 22 22 22 | 22 0d 0a 70 69 65 63 65 |te = """|"..piece|
|00005170| 73 20 3d 20 53 70 6c 69 | 74 28 68 74 6d 6c 2c 20 |s = Spli|t(html, |
|00005180| 22 27 48 52 45 46 3d 22 | 20 26 20 22 27 22 29 0d |"'HREF="| & "'").|
|00005190| 0a 0d 0a 69 66 20 55 62 | 6f 75 6e 64 28 70 69 65 |...if Ub|ound(pie|
|000051a0| 63 65 73 29 20 3c 20 31 | 20 74 68 65 6e 0d 0a 20 |ces) < 1| then.. |
|000051b0| 20 20 20 6c 69 6e 6b 65 | 64 20 3d 20 66 61 6c 73 | linke|d = fals|
|000051c0| 65 0d 0a 65 6e 64 20 69 | 66 0d 0a 0d 0a 69 66 20 |e..end i|f....if |
|000051d0| 4e 6f 74 20 6c 69 6e 6b | 65 64 20 74 68 65 6e 0d |Not link|ed then.|
|000051e0| 0a 20 20 20 20 70 72 65 | 73 65 6e 74 20 3d 20 70 |. pre|sent = p|
|000051f0| 72 65 73 65 6e 74 20 26 | 20 22 3c 41 20 48 52 45 |resent &| "<A HRE|
|00005200| 46 3d 27 22 20 26 20 5b | 73 6f 75 72 63 65 5d 2e |F='" & [|source].|
|00005210| 47 65 74 43 6f 6c 75 6d | 6e 56 61 6c 75 65 28 5b |GetColum|nValue([|
|00005220| 63 6f 6c 75 6d 6e 5d 29 | 20 26 20 22 27 3e 22 20 |column])| & "'>" |
|00005230| 26 20 68 74 6d 6c 20 26 | 20 22 3c 2f 41 3e 22 0d |& html &| "</A>".|
|00005240| 0a 65 6c 73 65 0d 0a 20 | 20 20 20 77 68 69 6c 65 |.else.. | while|
|00005250| 20 4d 69 64 28 68 74 6d | 6c 2c 20 78 2c 20 31 29 | Mid(htm|l, x, 1)|
|00005260| 20 3c 3e 20 64 62 6c 51 | 75 6f 74 65 20 0d 0a 20 | <> dblQ|uote .. |
|00005270| 20 20 20 20 20 20 20 70 | 72 65 73 65 6e 74 20 3d | p|resent =|
|00005280| 20 70 72 65 73 65 6e 74 | 20 26 20 4d 69 64 28 68 | present| & Mid(h|
|00005290| 74 6d 6c 2c 20 78 2c 20 | 31 29 20 0d 0a 20 20 20 |tml, x, |1) .. |
|000052a0| 20 20 20 20 20 78 20 3d | 20 78 20 2b 20 31 0d 0a | x =| x + 1..|
|000052b0| 20 20 20 20 77 65 6e 64 | 0d 0a 20 20 20 20 70 72 | wend|.. pr|
|000052c0| 65 73 65 6e 74 20 3d 20 | 70 72 65 73 65 6e 74 20 |esent = |present |
|000052d0| 26 20 64 62 6c 51 75 6f | 74 65 20 26 20 5b 73 6f |& dblQuo|te & [so|
|000052e0| 75 72 63 65 5d 2e 47 65 | 74 43 6f 6c 75 6d 6e 56 |urce].Ge|tColumnV|
|000052f0| 61 6c 75 65 28 5b 63 6f | 6c 75 6d 6e 5d 29 20 26 |alue([co|lumn]) &|
|00005300| 20 64 62 6c 51 75 6f 74 | 65 20 0d 0a 20 20 20 20 | dblQuot|e .. |
|00005310| 78 20 3d 20 78 20 2b 20 | 31 0d 0a 20 20 20 20 77 |x = x + |1.. w|
|00005320| 68 69 6c 65 20 4d 69 64 | 28 68 74 6d 6c 2c 20 78 |hile Mid|(html, x|
|00005330| 2c 20 31 29 20 3c 3e 20 | 64 62 6c 51 75 6f 74 65 |, 1) <> |dblQuote|
|00005340| 20 0d 0a 20 20 20 20 20 | 20 20 20 78 20 3d 20 78 | .. | x = x|
|00005350| 20 2b 20 31 0d 0a 20 20 | 20 20 77 65 6e 64 0d 0a | + 1.. | wend..|
|00005360| 20 20 20 20 78 20 3d 20 | 78 20 2b 20 31 0d 0a 20 | x = |x + 1.. |
|00005370| 20 20 20 77 68 69 6c 65 | 20 78 20 3c 20 4c 65 6e | while| x < Len|
|00005380| 28 68 74 6d 6c 29 0d 0a | 20 20 20 20 20 20 20 20 |(html)..| |
|00005390| 70 72 65 73 65 6e 74 20 | 3d 20 70 72 65 73 65 6e |present |= presen|
|000053a0| 74 20 26 20 4d 69 64 28 | 68 74 6d 6c 2c 20 78 2c |t & Mid(|html, x,|
|000053b0| 20 31 29 20 0d 0a 20 20 | 20 20 20 20 20 20 78 20 | 1) .. | x |
|000053c0| 3d 20 78 20 2b 20 31 0d | 0a 20 20 20 20 77 65 6e |= x + 1.|. wen|
|000053d0| 64 0d 0a 65 6e 64 20 69 | 66 0d 0a 52 65 73 70 6f |d..end i|f..Respo|
|000053e0| 6e 73 65 2e 57 72 69 74 | 65 28 70 72 65 73 65 6e |nse.Writ|e(presen|
|000053f0| 74 29 09 80 04 00 00 00 | 07 6f 6e 43 6c 69 63 6b |t)......|.onClick|
|00005400| 01 00 00 00 00 00 00 00 | 00 01 00 0b 80 05 00 00 |........|........|
|00005410| 00 06 63 6f 6c 75 6d 6e | 04 00 00 00 08 00 00 00 |..column|........|
|00005420| 00 00 00 00 01 00 00 00 | 06 73 6f 75 72 63 65 00 |........|.source.|
|00005430| 00 00 00 16 44 61 74 61 | 62 61 73 65 20 4d 69 73 |....Data|base Mis|
|00005440| 63 65 6c 6c 61 6e 65 6f | 75 73 00 00 00 00 00 00 |cellaneo|us......|
|00005450| 04 00 00 00 01 00 00 00 | 01 00 09 80 04 00 00 00 |........|........|
|00005460| 06 6f 6e 42 6c 75 72 01 | 00 00 00 00 00 00 00 00 |.onBlur.|........|
|00005470| 0d c8 14 68 f1 ef d1 11 | 98 c4 00 a0 24 53 51 3b |...h....|....$SQ;|
|00005480| 01 00 00 00 24 33 37 37 | 41 43 34 33 30 2d 36 32 |....$377|AC430-62|
|00005490| 31 31 2d 31 31 44 32 2d | 38 31 31 37 2d 30 30 36 |11-11D2-|8117-006|
|000054a0| 30 30 38 43 38 36 43 32 | 35 03 33 2e 30 ff 27 02 |008C86C2|5.3.0.'.|
|000054b0| 44 65 73 63 72 69 70 74 | 69 6f 6e 3a 0d 0a 54 68 |Descript|ion:..Th|
|000054c0| 69 73 20 63 6f 6e 74 72 | 61 63 74 20 73 65 74 73 |is contr|act sets|
|000054d0| 20 61 20 55 52 4c 20 6c | 69 6e 6b 2c 20 66 72 6f | a URL l|ink, fro|
|000054e0| 6d 20 74 68 65 20 64 61 | 74 61 62 61 73 65 2c 20 |m the da|tabase, |
|000054f0| 6f 6e 20 77 68 61 74 65 | 76 65 72 20 65 6c 65 6d |on whate|ver elem|
|00005500| 65 6e 74 20 69 74 20 69 | 73 20 61 70 70 6c 69 65 |ent it i|s applie|
|00005510| 64 20 74 6f 2e 20 20 54 | 68 65 20 6e 65 74 20 72 |d to. T|he net r|
|00005520| 65 73 75 6c 74 20 63 72 | 65 61 74 65 73 20 61 20 |esult cr|eates a |
|00005530| 68 6f 74 20 6c 69 6e 6b | 3b 20 77 68 65 6e 20 74 |hot link|; when t|
|00005540| 68 65 20 73 6f 75 72 63 | 65 20 65 6c 65 6d 65 6e |he sourc|e elemen|
|00005550| 74 20 69 73 20 63 6c 69 | 63 6b 65 64 2c 20 74 68 |t is cli|cked, th|
|00005560| 65 20 6c 69 6e 6b 20 73 | 70 65 63 69 66 69 65 64 |e link s|pecified|
|00005570| 20 62 79 20 74 68 65 20 | 63 6f 6c 75 6d 6e 20 70 | by the |column p|
|00005580| 61 72 61 6d 65 74 65 72 | 20 69 73 20 65 78 65 63 |arameter| is exec|
|00005590| 75 74 65 64 2e 20 0d 0a | 0d 0a 50 61 72 61 6d 65 |uted. ..|..Parame|
|000055a0| 74 65 72 73 3a 0d 0a 63 | 6f 6c 75 6d 6e 20 2d 20 |ters:..c|olumn - |
|000055b0| 74 68 65 20 63 6f 6c 75 | 6d 6e 20 66 72 6f 6d 20 |the colu|mn from |
|000055c0| 79 6f 75 72 20 64 61 74 | 61 62 61 73 65 20 74 68 |your dat|abase th|
|000055d0| 61 74 20 68 6f 6c 64 73 | 20 55 52 4c 27 73 2e 0d |at holds| URL's..|
|000055e0| 0a 0d 0a 54 79 70 69 63 | 61 6c 20 50 61 72 74 69 |...Typic|al Parti|
|000055f0| 63 69 70 61 6e 74 73 3a | 0d 0a 5b 53 6f 75 72 63 |cipants:|..[Sourc|
|00005600| 65 5d 20 2d 20 69 6d 61 | 67 65 2c 20 62 75 74 74 |e] - ima|ge, butt|
|00005610| 6f 6e 2c 20 74 65 78 74 | 20 62 6f 78 2c 20 65 74 |on, text| box, et|
|00005620| 63 0d 0a 0d 0a 46 6f 72 | 20 6d 6f 72 65 20 69 6e |c....For| more in|
|00005630| 66 6f 72 6d 61 74 69 6f | 6e 20 6f 6e 20 63 6f 6e |formatio|n on con|
|00005640| 74 72 61 63 74 73 20 6f | 66 20 74 68 69 73 20 63 |tracts o|f this c|
|00005650| 61 74 65 67 6f 72 79 2c | 20 70 6c 65 61 73 65 20 |ategory,| please |
|00005660| 72 65 66 65 72 20 74 6f | 0d 0a 44 61 74 61 62 61 |refer to|..Databa|
|00005670| 73 65 4d 69 73 63 65 6c | 6c 61 6e 65 6f 75 73 2e |seMiscel|laneous.|
|00005680| 64 6f 63 0d 0a 54 68 69 | 73 20 66 69 6c 65 20 69 |doc..Thi|s file i|
|00005690| 73 20 61 76 61 69 6c 61 | 62 6c 65 20 69 6e 20 74 |s availa|ble in t|
|000056a0| 68 65 20 43 6f 6e 74 72 | 61 63 74 73 20 66 6f 6c |he Contr|acts fol|
|000056b0| 64 65 72 20 69 6e 20 74 | 68 65 20 44 72 75 6d 62 |der in t|he Drumb|
|000056c0| 65 61 74 20 64 69 72 65 | 63 74 6f 72 79 2e 0d 0a |eat dire|ctory...|
|000056d0| 56 31 30 5f 33 30 2e 01 | 80 12 00 00 00 32 52 65 |V10_30..|.....2Re|
|000056e0| 70 6c 61 63 65 20 5b 74 | 6f 6b 65 6e 5d 20 77 69 |place [t|oken] wi|
|000056f0| 74 68 20 6e 75 6d 62 65 | 72 20 6f 66 20 72 65 63 |th numbe|r of rec|
|00005700| 6f 72 64 73 20 69 6e 20 | 5b 74 61 72 67 65 74 5d |ords in |[target]|
|00005710| 00 00 00 00 33 52 65 70 | 6c 61 63 65 20 5b 74 6f |....3Rep|lace [to|
|00005720| 6b 65 6e 5d 20 77 69 74 | 68 20 6e 75 6d 62 65 72 |ken] wit|h number|
|00005730| 20 6f 66 20 72 65 63 6f | 72 64 73 20 69 6e 20 72 | of reco|rds in r|
|00005740| 65 63 6f 72 64 73 65 74 | 02 00 03 80 01 00 00 00 |ecordset|........|
|00005750| 06 73 6f 75 72 63 65 01 | 00 05 80 03 00 00 00 00 |.source.|........|
|00005760| 00 00 00 0c 53 65 72 76 | 65 72 28 68 74 6d 6c 29 |....Serv|er(html)|
|00005770| 01 00 09 80 04 00 00 00 | 0c 53 65 72 76 65 72 28 |........|.Server(|
|00005780| 68 74 6d 6c 29 02 00 00 | 00 00 00 00 00 85 76 61 |html)...|......va|
|00005790| 72 20 68 69 74 6d 65 73 | 73 61 67 65 20 3d 20 68 |r hitmes|sage = h|
|000057a0| 74 6d 6c 2e 73 70 6c 69 | 74 28 5b 74 6f 6b 65 6e |tml.spli|t([token|
|000057b0| 5d 29 3b 0d 0a 68 69 74 | 6d 65 73 73 61 67 65 20 |]);..hit|message |
|000057c0| 3d 20 68 69 74 6d 65 73 | 73 61 67 65 5b 30 5d 2b |= hitmes|sage[0]+|
|000057d0| 5b 74 61 72 67 65 74 5d | 2e 52 53 2e 52 65 63 6f |[target]|.RS.Reco|
|000057e0| 72 64 43 6f 75 6e 74 2b | 68 69 74 6d 65 73 73 61 |rdCount+|hitmessa|
|000057f0| 67 65 5b 31 5d 3b 0d 0a | 52 65 73 70 6f 6e 73 65 |ge[1];..|Response|
|00005800| 2e 57 72 69 74 65 28 68 | 69 74 6d 65 73 73 61 67 |.Write(h|itmessag|
|00005810| 65 29 3b 01 00 00 00 76 | 6d 73 67 20 3d 20 53 70 |e);....v|msg = Sp|
|00005820| 6c 69 74 28 68 74 6d 6c | 2c 5b 74 6f 6b 65 6e 5d |lit(html|,[token]|
|00005830| 2c 2d 31 2c 31 29 0d 0a | 72 65 73 70 20 3d 20 6d |,-1,1)..|resp = m|
|00005840| 73 67 28 30 29 20 26 20 | 46 6f 72 6d 61 74 4e 75 |sg(0) & |FormatNu|
|00005850| 6d 62 65 72 28 5b 74 61 | 72 67 65 74 5d 2e 52 53 |mber([ta|rget].RS|
|00005860| 2e 52 65 63 6f 72 64 43 | 6f 75 6e 74 2c 30 29 20 |.RecordC|ount,0) |
|00005870| 26 20 6d 73 67 28 31 29 | 0d 0a 52 65 73 70 6f 6e |& msg(1)|..Respon|
|00005880| 73 65 2e 57 72 69 74 65 | 28 72 65 73 70 29 03 80 |se.Write|(resp)..|
|00005890| 01 00 00 00 06 74 61 72 | 67 65 74 01 00 05 80 03 |.....tar|get.....|
|000058a0| 00 00 00 01 00 00 00 14 | 47 65 74 43 6f 6c 75 6d |........|GetColum|
|000058b0| 6e 56 61 6c 75 65 28 6e | 61 6d 65 29 00 00 01 00 |nValue(n|ame)....|
|000058c0| 0b 80 05 00 00 00 05 74 | 6f 6b 65 6e 00 00 00 00 |.......t|oken....|
|000058d0| 08 00 0e 00 00 00 5b 00 | 74 00 6f 00 6b 00 65 00 |......[.|t.o.k.e.|
|000058e0| 6e 00 5d 00 00 00 00 00 | 00 00 00 00 00 00 00 16 |n.].....|........|
|000058f0| 44 61 74 61 62 61 73 65 | 20 4d 69 73 63 65 6c 6c |Database| Miscell|
|00005900| 61 6e 65 6f 75 73 00 00 | 00 00 00 00 04 00 00 00 |aneous..|........|
|00005910| 01 00 00 00 02 00 09 80 | 04 00 00 00 06 53 65 72 |........|.....Ser|
|00005920| 76 65 72 01 00 00 00 00 | 00 00 00 00 09 80 04 00 |ver.....|........|
|00005930| 00 00 06 6f 6e 42 6c 75 | 72 01 00 00 00 00 00 00 |...onBlu|r.......|
|00005940| 00 00 da f0 e0 c9 c3 41 | d2 11 80 46 00 60 08 d0 |.......A|...F.`..|
|00005950| 5a 6a 01 00 00 00 24 33 | 37 37 41 43 34 33 30 2d |Zj....$3|77AC430-|
|00005960| 36 32 31 31 2d 31 31 44 | 32 2d 38 31 31 37 2d 30 |6211-11D|2-8117-0|
|00005970| 30 36 30 30 38 43 38 36 | 43 32 35 03 33 2e 30 ff |06008C86|C25.3.0.|
|00005980| 34 02 44 65 73 63 72 69 | 70 74 69 6f 6e 3a 0d 0a |4.Descri|ption:..|
|00005990| 57 69 6c 6c 20 72 65 70 | 6c 61 63 65 20 61 20 76 |Will rep|lace a v|
|000059a0| 61 72 69 61 62 6c 65 20 | 28 74 6f 6b 65 6e 29 20 |ariable |(token) |
|000059b0| 74 68 61 74 20 61 70 70 | 65 61 72 73 20 69 6e 20 |that app|ears in |
|000059c0| 61 6e 79 20 65 6c 65 6d | 65 6e 74 20 77 69 74 68 |any elem|ent with|
|000059d0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 72 | the num|ber of r|
|000059e0| 65 63 6f 72 64 73 20 69 | 6e 20 74 68 65 20 72 65 |ecords i|n the re|
|000059f0| 63 6f 72 64 73 65 74 2e | 0d 0a 0d 0a 50 61 72 61 |cordset.|....Para|
|00005a00| 6d 65 74 65 72 73 3a 0d | 0a 74 6f 6b 65 6e 20 2d |meters:.|.token -|
|00005a10| 20 74 68 65 20 76 61 72 | 69 61 62 6c 65 20 6e 61 | the var|iable na|
|00005a20| 6d 65 20 74 6f 20 62 65 | 20 72 65 70 6c 61 63 65 |me to be| replace|
|00005a30| 64 20 28 77 65 20 72 65 | 63 6f 6d 6d 65 6e 64 20 |d (we re|commend |
|00005a40| 75 73 69 6e 67 20 62 72 | 61 63 6b 65 74 73 20 5b |using br|ackets [|
|00005a50| 5d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |] | |
|00005a60| 20 20 20 20 20 20 20 20 | 20 20 61 72 6f 75 6e 64 | | around|
|00005a70| 20 74 68 65 20 76 61 72 | 69 61 62 6c 65 20 74 6f | the var|iable to|
|00005a80| 20 70 72 65 76 65 6e 74 | 20 72 65 70 65 61 74 73 | prevent| repeats|
|00005a90| 2c 20 62 75 74 20 74 68 | 69 73 20 69 73 20 6e 6f |, but th|is is no|
|00005aa0| 74 20 6e 65 63 65 73 73 | 61 72 79 29 0d 0a 0d 0a |t necess|ary)....|
|00005ab0| 54 79 70 69 63 61 6c 20 | 50 61 72 74 69 63 69 70 |Typical |Particip|
|00005ac0| 61 6e 74 73 3a 0d 0a 5b | 73 6f 75 72 63 65 5d 20 |ants:..[|source] |
|00005ad0| 2d 20 74 65 78 74 20 62 | 6f 78 2c 20 65 64 69 74 |- text b|ox, edit|
|00005ae0| 20 62 6f 78 2c 20 65 74 | 63 2e 0d 0a 5b 74 61 72 | box, et|c...[tar|
|00005af0| 67 65 74 5d 20 2d 20 72 | 65 63 6f 72 64 73 65 74 |get] - r|ecordset|
|00005b00| 0d 0a 0d 0a 46 6f 72 20 | 6d 6f 72 65 20 69 6e 66 |....For |more inf|
|00005b10| 6f 72 6d 61 74 69 6f 6e | 20 6f 6e 20 63 6f 6e 74 |ormation| on cont|
|00005b20| 72 61 63 74 73 20 6f 66 | 20 74 68 69 73 20 63 61 |racts of| this ca|
|00005b30| 74 65 67 6f 72 79 2c 20 | 70 6c 65 61 73 65 20 72 |tegory, |please r|
|00005b40| 65 66 65 72 20 74 6f 0d | 0a 44 61 74 61 62 61 73 |efer to.|.Databas|
|00005b50| 65 4d 69 73 63 65 6c 6c | 61 6e 65 6f 75 73 2e 64 |eMiscell|aneous.d|
|00005b60| 6f 63 0d 0a 54 68 69 73 | 20 66 69 6c 65 20 69 73 |oc..This| file is|
|00005b70| 20 61 76 61 69 6c 61 62 | 6c 65 20 69 6e 20 74 68 | availab|le in th|
|00005b80| 65 20 43 6f 6e 74 72 61 | 63 74 73 20 66 6f 6c 64 |e Contra|cts fold|
|00005b90| 65 72 20 69 6e 20 74 68 | 65 20 44 72 75 6d 62 65 |er in th|e Drumbe|
|00005ba0| 61 74 20 64 69 72 65 63 | 74 6f 72 79 2e 0d 0a 56 |at direc|tory...V|
|00005bb0| 31 30 5f 33 30 2e 01 80 | 12 00 00 00 38 53 65 74 |10_30...|....8Set|
|00005bc0| 20 6c 69 6e 6b 20 61 6e | 64 20 63 6f 6e 74 65 6e | link an|d conten|
|00005bd0| 74 20 6f 66 20 5b 73 6f | 75 72 63 65 5d 20 74 6f |t of [so|urce] to|
|00005be0| 20 66 69 65 6c 64 20 66 | 72 6f 6d 20 5b 74 61 72 | field f|rom [tar|
|00005bf0| 67 65 74 5d 20 00 00 00 | 00 00 02 00 03 80 01 00 |get] ...|........|
|00005c00| 00 00 06 74 61 72 67 65 | 74 01 00 05 80 03 00 00 |...targe|t.......|
|00005c10| 00 01 00 00 00 14 47 65 | 74 43 6f 6c 75 6d 6e 56 |......Ge|tColumnV|
|00005c20| 61 6c 75 65 28 6e 61 6d | 65 29 00 00 03 80 01 00 |alue(nam|e)......|
|00005c30| 00 00 06 73 6f 75 72 63 | 65 01 00 05 80 03 00 00 |...sourc|e.......|
|00005c40| 00 00 00 00 00 0c 53 65 | 72 76 65 72 28 68 74 6d |......Se|rver(htm|
|00005c50| 6c 29 01 00 09 80 04 00 | 00 00 0c 53 65 72 76 65 |l)......|...Serve|
|00005c60| 72 28 68 74 6d 6c 29 02 | 00 00 00 00 00 00 00 ff |r(html).|........|
|00005c70| 9a 01 76 61 72 20 73 74 | 61 72 74 5f 6f 66 5f 74 |..var st|art_of_t|
|00005c80| 6f 6b 65 6e 20 3d 20 68 | 74 6d 6c 2e 69 6e 64 65 |oken = h|tml.inde|
|00005c90| 78 4f 66 28 5b 74 6f 6b | 65 6e 5d 29 3b 0d 0a 76 |xOf([tok|en]);..v|
|00005ca0| 61 72 20 74 6f 6b 65 6e | 20 3d 20 5b 74 6f 6b 65 |ar token| = [toke|
|00005cb0| 6e 5d 3b 0d 0a 76 61 72 | 20 68 74 6d 6c 5f 73 74 |n];..var| html_st|
|00005cc0| 61 72 74 20 3d 20 68 74 | 6d 6c 2e 73 75 62 73 74 |art = ht|ml.subst|
|00005cd0| 72 69 6e 67 28 30 2c 20 | 73 74 61 72 74 5f 6f 66 |ring(0, |start_of|
|00005ce0| 5f 74 6f 6b 65 6e 29 3b | 0d 0a 76 61 72 20 68 74 |_token);|..var ht|
|00005cf0| 6d 6c 5f 65 6e 64 20 3d | 20 68 74 6d 6c 2e 73 75 |ml_end =| html.su|
|00005d00| 62 73 74 72 69 6e 67 28 | 73 74 61 72 74 5f 6f 66 |bstring(|start_of|
|00005d10| 5f 74 6f 6b 65 6e 20 2b | 20 74 6f 6b 65 6e 2e 6c |_token +| token.l|
|00005d20| 65 6e 67 74 68 2c 20 68 | 74 6d 6c 2e 6c 65 6e 67 |ength, h|tml.leng|
|00005d30| 74 68 29 3b 0d 0a 76 61 | 72 20 6c 69 6e 6b 20 3d |th);..va|r link =|
|00005d40| 20 22 22 3b 0d 0a 0d 0a | 6c 69 6e 6b 20 3d 20 22 | "";....|link = "|
|00005d50| 3c 41 20 48 52 45 46 3d | 27 22 3b 0d 0a 6c 69 6e |<A HREF=|'";..lin|
|00005d60| 6b 20 2b 3d 20 5b 74 61 | 72 67 65 74 5d 2e 47 65 |k += [ta|rget].Ge|
|00005d70| 74 43 6f 6c 75 6d 6e 56 | 61 6c 75 65 28 5b 55 52 |tColumnV|alue([UR|
|00005d80| 4c 20 43 6f 6c 75 6d 6e | 5d 29 3b 0d 0a 6c 69 6e |L Column|]);..lin|
|00005d90| 6b 20 2b 3d 20 22 27 3e | 22 3b 0d 0a 6c 69 6e 6b |k += "'>|";..link|
|00005da0| 20 2b 3d 20 5b 74 61 72 | 67 65 74 5d 2e 47 65 74 | += [tar|get].Get|
|00005db0| 43 6f 6c 75 6d 6e 56 61 | 6c 75 65 28 5b 54 65 78 |ColumnVa|lue([Tex|
|00005dc0| 74 20 43 6f 6c 75 6d 6e | 5d 29 3b 0d 0a 6c 69 6e |t Column|]);..lin|
|00005dd0| 6b 20 2b 3d 22 3c 2f 41 | 3e 22 3b 0d 0a 0d 0a 52 |k +="</A|>";....R|
|00005de0| 65 73 70 6f 6e 73 65 2e | 57 72 69 74 65 28 68 74 |esponse.|Write(ht|
|00005df0| 6d 6c 5f 73 74 61 72 74 | 20 2b 20 6c 69 6e 6b 20 |ml_start| + link |
|00005e00| 2b 20 68 74 6d 6c 5f 65 | 6e 64 29 3b 01 00 00 00 |+ html_e|nd);....|
|00005e10| ff 47 01 73 74 61 72 74 | 5f 6f 66 5f 74 6f 6b 65 |.G.start|_of_toke|
|00005e20| 6e 20 3d 20 49 6e 73 74 | 72 28 31 2c 20 68 74 6d |n = Inst|r(1, htm|
|00005e30| 6c 2c 20 5b 74 6f 6b 65 | 6e 5d 29 0d 0a 74 6f 6b |l, [toke|n])..tok|
|00005e40| 65 6e 20 3d 20 5b 74 6f | 6b 65 6e 5d 0d 0a 68 74 |en = [to|ken]..ht|
|00005e50| 6d 6c 5f 73 74 61 72 74 | 20 3d 20 4c 65 66 74 28 |ml_start| = Left(|
|00005e60| 68 74 6d 6c 2c 20 73 74 | 61 72 74 5f 6f 66 5f 74 |html, st|art_of_t|
|00005e70| 6f 6b 65 6e 20 2d 20 31 | 29 0d 0a 68 74 6d 6c 5f |oken - 1|)..html_|
|00005e80| 65 6e 64 20 3d 20 4d 69 | 64 28 68 74 6d 6c 2c 20 |end = Mi|d(html, |
|00005e90| 73 74 61 72 74 5f 6f 66 | 5f 74 6f 6b 65 6e 20 2b |start_of|_token +|
|00005ea0| 20 4c 65 6e 28 74 6f 6b | 65 6e 29 29 0d 0a 6c 69 | Len(tok|en))..li|
|00005eb0| 6e 6b 20 3d 20 22 22 0d | 0a 6c 69 6e 6b 20 3d 20 |nk = "".|.link = |
|00005ec0| 22 3c 41 20 48 52 45 46 | 3d 27 22 20 26 20 5b 74 |"<A HREF|='" & [t|
|00005ed0| 61 72 67 65 74 5d 2e 47 | 65 74 43 6f 6c 75 6d 6e |arget].G|etColumn|
|00005ee0| 56 61 6c 75 65 28 5b 55 | 52 4c 20 43 6f 6c 75 6d |Value([U|RL Colum|
|00005ef0| 6e 5d 29 20 26 20 22 27 | 3e 22 20 26 20 5b 74 61 |n]) & "'|>" & [ta|
|00005f00| 72 67 65 74 5d 2e 47 65 | 74 43 6f 6c 75 6d 6e 56 |rget].Ge|tColumnV|
|00005f10| 61 6c 75 65 28 5b 54 65 | 78 74 20 43 6f 6c 75 6d |alue([Te|xt Colum|
|00005f20| 6e 5d 29 20 26 20 22 3c | 2f 41 3e 22 0d 0a 52 65 |n]) & "<|/A>"..Re|
|00005f30| 73 70 6f 6e 73 65 2e 57 | 72 69 74 65 28 68 74 6d |sponse.W|rite(htm|
|00005f40| 6c 5f 73 74 61 72 74 20 | 26 20 6c 69 6e 6b 20 26 |l_start |& link &|
|00005f50| 20 68 74 6d 6c 5f 65 6e | 64 29 03 00 0b 80 05 00 | html_en|d)......|
|00005f60| 00 00 0b 54 65 78 74 20 | 43 6f 6c 75 6d 6e 04 00 |...Text |Column..|
|00005f70| 00 00 08 00 00 00 00 00 | 00 00 01 00 00 00 06 74 |........|.......t|
|00005f80| 61 72 67 65 74 00 00 00 | 00 0b 80 05 00 00 00 0a |arget...|........|
|00005f90| 55 52 4c 20 43 6f 6c 75 | 6d 6e 04 00 00 00 08 00 |URL Colu|mn......|
|00005fa0| 00 00 00 00 00 00 01 00 | 00 00 06 74 61 72 67 65 |........|...targe|
|00005fb0| 74 00 00 00 00 0b 80 05 | 00 00 00 05 74 6f 6b 65 |t.......|....toke|
|00005fc0| 6e 00 00 00 00 08 00 0e | 00 00 00 5b 00 74 00 6f |n.......|...[.t.o|
|00005fd0| 00 6b 00 65 00 6e 00 5d | 00 00 00 00 00 00 00 00 |.k.e.n.]|........|
|00005fe0| 00 00 00 00 16 44 61 74 | 61 62 61 73 65 20 4d 69 |.....Dat|abase Mi|
|00005ff0| 73 63 65 6c 6c 61 6e 65 | 6f 75 73 00 00 00 00 00 |scellane|ous.....|
|00006000| 00 04 00 00 00 01 00 00 | 00 00 00 65 4d 8d fd 05 |........|...eM...|
|00006010| e1 d1 11 80 23 00 80 5f | 05 bb 87 01 00 00 00 24 |....#.._|.......$|
|00006020| 33 37 37 41 43 34 33 30 | 2d 36 32 31 31 2d 31 31 |377AC430|-6211-11|
|00006030| 44 32 2d 38 31 31 37 2d | 30 30 36 30 30 38 43 38 |D2-8117-|006008C8|
|00006040| 36 43 32 35 03 33 2e 30 | ff e2 03 44 65 73 63 72 |6C25.3.0|...Descr|
|00006050| 69 70 74 69 6f 6e 3a 0d | 0a 54 68 69 73 20 63 6f |iption:.|.This co|
|00006060| 6e 74 72 61 63 74 20 72 | 65 70 6c 61 63 65 73 20 |ntract r|eplaces |
|00006070| 61 20 76 61 72 69 61 62 | 6c 65 20 28 74 6f 6b 65 |a variab|le (toke|
|00006080| 6e 29 20 77 69 74 68 20 | 63 6f 6e 74 65 6e 74 20 |n) with |content |
|00006090| 66 72 6f 6d 20 74 68 65 | 20 72 65 63 6f 72 64 73 |from the| records|
|000060a0| 65 74 20 77 68 69 63 68 | 20 70 6f 69 6e 74 73 20 |et which| points |
|000060b0| 74 6f 20 61 6e 6f 74 68 | 65 72 20 63 6f 6c 75 6d |to anoth|er colum|
|000060c0| 6e 20 69 6e 20 74 68 65 | 20 72 65 63 6f 72 64 73 |n in the| records|
|000060d0| 65 74 20 74 68 61 74 20 | 72 65 70 72 65 73 65 6e |et that |represen|
|000060e0| 74 73 20 61 20 55 52 4c | 2e 20 20 54 68 65 20 6e |ts a URL|. The n|
|000060f0| 65 74 20 72 65 73 75 6c | 74 20 65 73 73 65 6e 74 |et resul|t essent|
|00006100| 69 61 6c 6c 79 20 63 72 | 65 61 74 65 73 20 61 20 |ially cr|eates a |
|00006110| 68 6f 74 20 6c 69 6e 6b | 3b 20 77 68 65 6e 20 74 |hot link|; when t|
|00006120| 68 65 20 72 65 63 6f 72 | 64 73 65 74 20 63 6f 6e |he recor|dset con|
|00006130| 74 65 6e 74 20 74 68 61 | 74 20 72 65 70 6c 61 63 |tent tha|t replac|
|00006140| 65 73 20 74 68 65 20 74 | 6f 6b 65 6e 20 69 73 20 |es the t|oken is |
|00006150| 63 6c 69 63 6b 65 64 2c | 20 69 74 20 65 78 65 63 |clicked,| it exec|
|00006160| 75 74 65 73 20 74 68 65 | 20 61 73 73 6f 63 69 61 |utes the| associa|
|00006170| 74 65 64 20 6c 69 6e 6b | 2e 0d 0a 0d 0a 50 61 72 |ted link|.....Par|
|00006180| 61 6d 65 74 65 72 73 3a | 0d 0a 74 65 78 74 20 63 |ameters:|..text c|
|00006190| 6f 6c 75 6d 6e 20 2d 20 | 74 68 65 20 63 6f 6c 75 |olumn - |the colu|
|000061a0| 6d 6e 20 66 72 6f 6d 20 | 79 6f 75 72 20 64 61 74 |mn from |your dat|
|000061b0| 61 62 61 73 65 20 74 68 | 61 74 20 68 6f 6c 64 73 |abase th|at holds|
|000061c0| 20 74 68 65 20 74 65 78 | 74 20 74 6f 20 62 65 20 | the tex|t to be |
|000061d0| 64 69 73 70 6c 61 79 65 | 64 2e 0d 0a 75 72 6c 20 |displaye|d...url |
|000061e0| 63 6f 6c 75 6d 6e 20 2d | 20 74 68 65 20 63 6f 6c |column -| the col|
|000061f0| 75 6d 6e 20 66 72 6f 6d | 20 79 6f 75 72 20 64 61 |umn from| your da|
|00006200| 74 61 62 61 73 65 20 74 | 68 61 74 20 68 6f 6c 64 |tabase t|hat hold|
|00006210| 73 20 74 68 65 20 55 52 | 4c 20 74 6f 20 6c 69 6e |s the UR|L to lin|
|00006220| 6b 20 74 6f 2e 0d 0a 74 | 6f 6b 65 6e 20 2d 20 74 |k to...t|oken - t|
|00006230| 68 65 20 65 78 61 63 74 | 20 74 65 78 74 20 74 68 |he exact| text th|
|00006240| 61 74 20 73 68 6f 75 6c | 64 20 62 65 20 72 65 70 |at shoul|d be rep|
|00006250| 6c 61 63 65 64 20 77 69 | 74 68 20 74 68 65 20 63 |laced wi|th the c|
|00006260| 6f 6e 74 65 6e 74 20 66 | 72 6f 6d 20 74 68 65 20 |ontent f|rom the |
|00006270| 20 20 20 20 20 20 20 20 | 20 20 20 20 64 61 74 61 | | data|
|00006280| 62 61 73 65 2c 20 70 6c | 65 61 73 65 20 6d 61 6b |base, pl|ease mak|
|00006290| 65 20 73 75 72 65 20 74 | 68 69 73 20 76 61 6c 75 |e sure t|his valu|
|000062a0| 65 20 69 73 20 75 6e 69 | 71 75 65 20 69 6e 20 74 |e is uni|que in t|
|000062b0| 68 65 20 73 74 72 69 6e | 67 2e 20 20 54 68 65 20 |he strin|g. The |
|000062c0| 76 61 72 69 61 62 6c 65 | 20 6e 61 6d 65 20 74 6f |variable| name to|
|000062d0| 20 62 65 20 72 65 70 6c | 61 63 65 64 20 28 77 65 | be repl|aced (we|
|000062e0| 20 72 65 63 6f 6d 6d 65 | 6e 64 20 75 73 69 6e 67 | recomme|nd using|
|000062f0| 20 62 72 61 63 6b 65 74 | 73 20 5b 5d 20 61 72 6f | bracket|s [] aro|
|00006300| 75 6e 64 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 |und the |variable|
|00006310| 20 74 6f 20 70 72 65 76 | 65 6e 74 20 72 65 70 65 | to prev|ent repe|
|00006320| 61 74 73 2c 20 62 75 74 | 20 74 68 69 73 20 69 73 |ats, but| this is|
|00006330| 20 6e 6f 74 20 6e 65 63 | 65 73 73 61 72 79 29 0d | not nec|essary).|
|00006340| 0a 0d 0a 54 79 70 69 63 | 61 6c 20 50 61 72 74 69 |...Typic|al Parti|
|00006350| 63 69 70 61 6e 74 73 3a | 0d 0a 5b 53 6f 75 72 63 |cipants:|..[Sourc|
|00006360| 65 5d 20 2d 20 65 64 69 | 74 20 62 6f 78 2c 20 74 |e] - edi|t box, t|
|00006370| 65 78 74 20 62 6f 78 0d | 0a 0d 0a 46 6f 72 20 6d |ext box.|...For m|
|00006380| 6f 72 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ore info|rmation |
|00006390| 6f 6e 20 63 6f 6e 74 72 | 61 63 74 73 20 6f 66 20 |on contr|acts of |
|000063a0| 74 68 69 73 20 63 61 74 | 65 67 6f 72 79 2c 20 70 |this cat|egory, p|
|000063b0| 6c 65 61 73 65 20 72 65 | 66 65 72 20 74 6f 0d 0a |lease re|fer to..|
|000063c0| 44 61 74 61 62 61 73 65 | 4d 69 73 63 65 6c 6c 61 |Database|Miscella|
|000063d0| 6e 65 6f 75 73 2e 64 6f | 63 0d 0a 54 68 69 73 20 |neous.do|c..This |
|000063e0| 66 69 6c 65 20 69 73 20 | 61 76 61 69 6c 61 62 6c |file is |availabl|
|000063f0| 65 20 69 6e 20 74 68 65 | 20 43 6f 6e 74 72 61 63 |e in the| Contrac|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.